RandomExtensionsNextInt32(Random, Int32, Int32, Generation) Method
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static int NextInt32(
this Random random,
int minValue,
int maxValue,
Generation mode
)
<ExtensionAttribute>
Public Shared Function NextInt32 (
random As Random,
minValue As Integer,
maxValue As Integer,
mode As Generation
) As Integer
public:
[ExtensionAttribute]
static int NextInt32(
Random^ random,
int minValue,
int maxValue,
Generation mode
)
[<ExtensionAttribute>]
static member NextInt32 :
random : Random *
minValue : int *
maxValue : int *
mode : Generation -> int
- random Random
-
- minValue Int32
-
- maxValue Int32
-
- mode Generation
-
Int32In 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).