Click or drag to resize
RandomNext Method
Returns a nonnegative random number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual int Next()

Return Value

Type: Int32
A 32-bit signed integer greater than or equal to zero and less than MaxValue.
See Also