RandomExtensionsNextByte(Random, Byte, Byte, Generation) Method
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static byte NextByte(
this Random random,
byte minValue,
byte maxValue,
Generation mode
)
<ExtensionAttribute>
Public Shared Function NextByte (
random As Random,
minValue As Byte,
maxValue As Byte,
mode As Generation
) As Byte
public:
[ExtensionAttribute]
static unsigned char NextByte(
Random^ random,
unsigned char minValue,
unsigned char maxValue,
Generation mode
)
[<ExtensionAttribute>]
static member NextByte :
random : Random *
minValue : byte *
maxValue : byte *
mode : Generation -> byte
- random Random
-
- minValue Byte
-
- maxValue Byte
-
- mode Generation
-
ByteIn 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).