The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Random::Next Method
.NET Framework (current version)
Returns a random integer.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Next() | Returns a non-negative random integer. |
![]() | Next(Int32) | Returns a non-negative random integer that is less than the specified maximum. |
![]() | Next(Int32, Int32) | Returns a random integer that is within a specified range. |
Show:
