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