Click or drag to resize

Random Properties

The Random type exposes the following members.

Properties
  Name Description
Public property Static member Boolean Generates a cryptographically strong random boolean (i.e., a coin toss).
Public property Static member Byte Generates a cryptographically strong 8-bit random integer.
Public property Static member Decimal Generates a semi cryptographically strong random decimal between zero and one. i.e. [0-1)
Public property Static member Int16 Generates a cryptographically strong 16-bit random integer.
Public property Static member Int24 Generates a cryptographically strong 24-bit random integer.
Public property Static member Int32 Generates a cryptographically strong 32-bit random integer.
Public property Static member Int64 Generates a cryptographically strong 64-bit random integer.
Public property Static member Number Generates a semi cryptographically strong double-precision floating-point random number between zero and one. i.e. [0-1)
Public property Static member UInt16 Generates a cryptographically strong unsigned 16-bit random integer.
Public property Static member UInt24 Generates a cryptographically strong unsigned 24-bit random integer.
Public property Static member UInt32 Generates a cryptographically strong unsigned 32-bit random integer.
Public property Static member UInt64 Generates a cryptographically strong unsigned 64-bit random integer.
Top
See Also