This documentation is archived and is not being maintained.
Random::Next Method
Visual Studio 2010
Returns a random number.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Next() | Returns a nonnegative random number. |
|
Next(Int32) | Returns a nonnegative random number less than the specified maximum. |
|
Next(Int32, Int32) | Returns a random number within a specified range. |
Show: