IntRange.Random
Method in IntRange
Implements INumberRange<T>.Random
Declaration
public int Random()Description
Returns a random value in the range [inclusive, exclusive).
Returns
| int | A random value in the range [inclusive, exclusive). |
Overload
Declaration
public int Random(Random seed)Description
Returns a random value in the range [inclusive, exclusive) using the provided seed.
Parameters
| seed |
Returns
| int | A random value in the range [inclusive, exclusive). |