RandomExtensionsNextInt32(Random, Int32) Method

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static int NextInt32(
	this Random random,
	int maxValue
)

Parameters

random  Random
 
maxValue  Int32
 

Return Value

Int32

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).

See Also