CSS Logo XNACS1Lib Library Documentation
XNACS1Base.RandomInt Method (Int32)

Game-Themed Introductory Programming Project   

Returns a random integer between 0 and max.

public static int RandomInt(
   Int32 max
);

Parameters

max
Max integer to be returned.

Return Value

Returns a random integer between 0 and max.

See Also

XNACS1Base Class | XNACS1Lib Namespace | XNACS1Base.RandomInt Overload List