Mono Class Library: System.Random Overview | Members

System.Random.NextDouble Method

Returns a random number between 0.0 and 1.0. [Edit]

public virtual double NextDouble ()

Returns

A double greater than or equal to 0.0, and less than 1.0. [Edit]

Remarks

Operation
As described above.

Usage
Use this method to generate a psuedo-random number greater than or equal to zero, and less than one.

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0