Class RandomUtils
- Namespace
- Alis.Core.Aspect.Math.Util
- Assembly
- Alis.dll
The random utils class
public static class RandomUtils
Inheritance
Inherited Members
Fields
Rng
The create
private static readonly RandomNumberGenerator Rng
Field Value
Methods
GetInt32(int, int)
Gets the int 32 using the specified min value
public static int GetInt32(int minValue, int maxValue)
Parameters
Returns
- int
-
The int
Exceptions
- ArgumentException
-
minValue must be less than or equal to maxValue.
GetInt32(int)
Gets the int 32 using the specified value
public static int GetInt32(int value)
Parameters
value
int-
The value
Returns
- int
-
The int
Exceptions
- ArgumentException
-
value must be greater than or equal to 0.