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