FastRandom Class |
Namespace: NeoAxis
public class FastRandom
The FastRandom type exposes the following members.
| Name | Description | |
|---|---|---|
| FastRandom |
Initializes a new instance of the FastRandom class,
using a time-dependent default seed value.
| |
| FastRandom(Int32, Boolean) |
Initializes a new instance of the FastRandom class,
using the specified seed value.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Next(Double) |
Returns a random number between zero and max value.
| |
| Next(Int32) |
Returns a nonnegative random number less or equal than the specified maximum.
| |
| Next(Single) |
Returns a random number between zero and max value.
| |
| Next(Double, Double) |
Returns a random number between min and max values.
| |
| Next(Int32, Int32) |
Returns a random number within a specified range.
| |
| Next(Single, Single) |
Returns a random number between min and max values.
| |
| NextBoolean |
Returns a single random bit.
| |
| NextBytes |
Fills the elements of a specified array of bytes with random numbers.
| |
| NextDouble |
Returns a random number between 0.0 and 1.0.
| |
| NextFloat |
Returns a random number between 0.0 and 1.0.
| |
| NextInteger |
Returns a nonnegative random number.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |