Random Members

The following tables list the members exposed by the Random type.

Public Constructors

Name Description
Public Method Random Overloaded. Initializes a new instance of the Random class.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Next Overloaded. Returns a nonnegative random number.
Public Method NextBytes Fills the elements of the specified array of bytes with random numbers.
Public Method NextDouble Returns a random number between 0.0 and 1.0.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Random Class
System Namespace