Returns a psuedo-random positive number less than the specified
maximum.
[Edit]
public virtual int Next (int maxValue) |
|
Parameters
- maxValue
- The upper bound of the random number to be generated. maxValue is required to be greater than or equal to zero.
[Edit]
Returns
A int set to a psuedo-random value greater than or equal to zero
and less than maxValue. If maxValue is zero, returns zero.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0