 | RandomGeneratorInt Method (Int32, Int32, Boolean) |
Namespace:
WhetStone.Random
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic int Int(
int min,
int max,
bool inclusive
)
Parameters
- min
- Type: SystemInt32
The minimum value that can be returned. inclusive. - max
- Type: SystemInt32
The maximum value that can be returned. - inclusive
- Type: SystemBoolean
Whether max is inclusive or not.
Return Value
Type:
Int32A randomly generated
Int32 between
min and
max.
See Also