Random Generator Extensions.Next Int 32<TGenerator> Method
Generates a random 32-bit non-negative integer less than or equal to MaxValue.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public static int NextInt32<TGenerator>(
this ref TGenerator generator
)
where TGenerator : struct, new(), IRandomGenerator
Parameters
- generator TGenerator
Type Parameters
- TGenerator