RandomExtensionsNextInt16(Random, Int16) Method

Definition

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

Parameters

random  Random
 
maxValue  Int16
 

Return Value

Int16

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