Returns a random integer within the specified range.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public int Next( int minValue, int maxValue ) |
| Visual Basic (Declaration) |
|---|
Public Function Next ( _ minValue As Integer, _ maxValue As Integer _ ) As Integer |
| Visual C++ |
|---|
public: int Next( int minValue, int maxValue ) |
Parameters
- minValue
- Type: System..::.Int32
The lower bound.
- maxValue
- Type: System..::.Int32
The upper bound.