Click or drag to resize

RandomGeneratorInt Method (Int32, Int32, Boolean)

Get a random Int32.

Namespace:  WhetStone.Random
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public 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: Int32
A randomly generated Int32 between min and max.
See Also