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