RandomExtensionsNextBoolean Method
Namespace: Jodosoft.PrimitivesAssembly: Jodosoft.Primitives (in Jodosoft.Primitives.dll) Version: 2.0
public static bool NextBoolean(
this Random random
)
<ExtensionAttribute>
Public Shared Function NextBoolean (
random As Random
) As Boolean
public:
[ExtensionAttribute]
static bool NextBoolean(
Random^ random
)
[<ExtensionAttribute>]
static member NextBoolean :
random : Random -> bool
- random Random
-
BooleanIn 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).