FastRandomNext Method

Returns a non-negative random 32-bit integer that is less than Int32.MaxValue.

Definition

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

Return Value

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

Remarks

  Note

This method just calls the NextInt32 method. You can call directly the non-virtual NextInt32 method for a slightly better performance.

See Also