Appearance
NextInt64 Method
Definition
- Namespace:
JASE - Assembly:
JASE.Primitives.dll
Overloads
| Name | Description |
|---|---|
long NextInt64() | Returns a nonnegative random number. |
long NextInt64(long max) | Returns a nonnegative random number. |
long NextInt64(long min, long max) | Returns a nonnegative random number. |
long NextInt64()
csharp
long NextInt64()Returns a nonnegative random number.
Returns
A 64-bit signed integer greater than or equal to zero and less than System.Int64.MaxValue.
long NextInt64(long max)
csharp
long NextInt64(long max)Returns a nonnegative random number.
Parameters
| Name | Description |
|---|---|
max | The exclusive upper bound of the random number to be generated. |
Returns
A 64-bit signed integer greater than or equal to zero and less than System.Int64.MaxValue.
long NextInt64(long min, long max)
csharp
long NextInt64(long min, long max)Returns a nonnegative random number.
Parameters
| Name | Description |
|---|---|
max | The exclusive upper bound of the random number returned. max must be greater than or equal to min. |
min | The inclusive lower bound of the random number returned |
Returns
A 64-bit signed integer greater than or equal to zero and less than System.Int64.MaxValue.