Method Next
- Namespace
- DisCatSharp.Common
- Assembly
- DisCatSharp.Common.dll
Next()
Generates a 32-bit integer between 0 and MaxValue. Upper end exclusive.
public override int Next()
Returns
- int
Generated 32-bit integer.
Next(int)
Generates a 32-bit integer between 0 and maxValue
. Upper end exclusive.
public override int Next(int maxValue)
Parameters
maxValue
intMaximum value of the generated integer.
Returns
- int
Generated 32-bit integer.
Next(int, int)
Generates a 32-bit integer between minValue
and maxValue
. Upper end
exclusive.
public override int Next(int minValue, int maxValue)
Parameters
minValue
intMinimum value of the generate integer.
maxValue
intMaximum value of the generated integer.
Returns
- int
Generated 32-bit integer.