| RandomizerNext Method (Int32, Int32) |
Returns a random number within a specified range. Cryptographic secure.
Namespace:
Cauldron
Assembly:
Cauldron.Randomizer (in Cauldron.Randomizer.dll) Version: 3.2.0.2
Syntax public static int Next(
int minValue,
int maxValue
)
public:
static int Next(
int minValue,
int maxValue
)
Parameters
- minValue
- Type: SystemInt32
The inclusive lower bound of the random number returned. - maxValue
- Type: SystemInt32
The exclusive upper bound of the random number to be generated.maxValue must be greater
than or equal to 0.
Return Value
Type:
Int32A random integer value
Exceptions See Also