Share via


Random.NextDouble Method

Returns a random number between 0.0 and 1.0.

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

Syntax

[MethodImplAttribute(InternalCall)]
public virtual double NextDouble ()

Return Value

A double-precision floating point number that is greater than or equal to 0.0, and less than 1.0.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Random Class
Random Members
System Namespace