Random Extensions.Next UInt 32 Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Overload List
| Next | Returns a random 64-bit integer. |
| Next | Returns a random unsigned integer less than the specified value. |
NextUInt32(Random)
Returns a random 64-bit integer.
public static uint NextUInt32(
this Random random
)Parameters
- random Random
Return Value
UInt32A 64-bit unsigned integer.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Random. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).NextUInt32(Random, UInt32)
Returns a random unsigned integer less than the specified value.
public static uint NextUInt32(
this Random random,
uint maxValue
)Parameters
Return Value
UInt32A 32-bit unsigned integer that is greater than or equal to 0.