Random Methods

The Random type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Next() Returns a nonnegative random number.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Next(Int32) Returns a nonnegative random number less than the specified maximum.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Next(Int32, Int32) Returns a random number within a specified range.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 NextBytes Fills the elements of a specified array of bytes with random numbers.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 NextDouble Returns a random number between 0.0 and 1.0.
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 Sample Returns a random number between 0.0 and 1.0.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show: