RandomExtensionsNextDecimal(Random, Decimal) Method
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static decimal NextDecimal(
this Random random,
decimal maxValue
)
<ExtensionAttribute>
Public Shared Function NextDecimal (
random As Random,
maxValue As Decimal
) As Decimal
public:
[ExtensionAttribute]
static Decimal NextDecimal(
Random^ random,
Decimal maxValue
)
[<ExtensionAttribute>]
static member NextDecimal :
random : Random *
maxValue : decimal -> decimal
- random Random
-
- maxValue Decimal
-
DecimalIn 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).