RandomExtensionsNextByte(Random, Byte, Byte) Method

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static byte NextByte(
	this Random random,
	byte minValue,
	byte maxValue
)

Parameters

random  Random
 
minValue  Byte
 
maxValue  Byte
 

Return Value

Byte

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