Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a random number between 0.0 and 1.0.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overridable Function NextDouble As Double
public virtual double NextDouble()
public:
virtual double NextDouble()
abstract NextDouble : unit -> float
override NextDouble : unit -> float
public function NextDouble() : double
Return Value
Type: System. . :: . .Double
A double-precision floating point number greater than or equal to 0.0, and less than 1.0.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.