Random Methods

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Random type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Next() Returns a nonnegative random number.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Next(Int32) Returns a nonnegative random number less than the specified maximum.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Next(Int32, Int32) Returns a random number within a specified range.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 NextBytes Fills the elements of a specified array of bytes with random numbers.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 NextDouble Returns a random number between 0.0 and 1.0.
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sample Returns a random number between 0.0 and 1.0.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

See Also

Reference