Random.Next Method ()

Returns a nonnegative random number less than Int32.MaxValue.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[MethodImplAttribute(InternalCall)]
public virtual int Next ()

Return Value

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

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Random Class
Random Members
System Namespace