RandomExtensions.<G>$5AB4ABAAFA3359CDE65D50F3C2439F05.NextUInt64 Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0

Overload List

NextUInt64() Returns a random 64-bit integer.
NextUInt64(UInt64) Returns a non-negative random integer that is less than the specified maximum.

NextUInt64

Returns a random 64-bit integer.
C#
public ulong NextUInt64()

Return Value

UInt64
A 64-bit unsigned integer.

NextUInt64(UInt64)

Returns a non-negative random integer that is less than the specified maximum.
C#
public ulong NextUInt64(
	ulong maxValue
)

Parameters

maxValue  UInt64
The exclusive upper bound of the random number to be generated.

Return Value

UInt64
A 64-bit unsigned integer that is greater than or equal to 0.

See Also