Project Mercury API Reference |
RandomHelper..::.NextInt Method (Int32, Int32) |
RandomHelper Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Returns a random number within a specified range.
Namespace:
ProjectMercury
Assembly:
ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0
Syntax
C# |
---|
public static int NextInt( int min, int max ) |
Visual Basic (Declaration) |
---|
Public Shared Function NextInt ( _ min As Integer, _ max As Integer _ ) As Integer |
Visual C++ |
---|
public: static int NextInt( int min, int max ) |
Parameters
- min
- Type: System..::.Int32
The inclusive lower bound of the random number returned.
- max
- Type: System..::.Int32
The exclusive upper bound of the random number returned.
Return Value
[Missing <returns> documentation for "M:ProjectMercury.RandomHelper.NextInt(System.Int32,System.Int32)"]