FastRandomNextInt64 Method

Returns a non-negative random 64-bit integer that is less than Int64.MaxValue.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public override long NextInt64()

Return Value

Int64
A 64-bit signed integer that is greater than or equal to 0 and less than Int64.MaxValue.

Remarks

  Caution

Starting with version 6.0.0 the behavior of this method has been changed to be conform with the behavior of the Random.NextInt64 method introduced in .NET 6.0 so it returns the same range. Use the SampleInt64 method to obtain any Int64 value.

See Also