[This is preliminary documentation and is subject to change.]
Returns a non-negetive random whole number less than the specified maximum.
Namespace:
ProjectMercury
Assembly:
ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0
Syntax
| C# |
|---|
public static int NextInt(
int max
) |
| Visual Basic (Declaration) |
|---|
Public Shared Function NextInt ( _
max As Integer _
) As Integer |
| Visual C++ |
|---|
public:
static int NextInt(
int max
) |
Parameters
- max
- Type: System..::.Int32
The exclusive upper bound the random number to be generated.
Return Value
[Missing <returns> documentation for "M:ProjectMercury.RandomHelper.NextInt(System.Int32)"]
See Also