Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Catrobat
IDE
Core
ExtensionMethods
RandomExtensions
NextBool
Catrobat.IDE.Core.ExtensionMethods.RandomExtensions.NextBool C# (CSharp) Method
RandomExtensions Class Documentation
Show file
Open project: Catrobat/CatrobatForWindows
NextBool()
public
static
method
public
static
NextBool
(
this
random
) :
bool
random
this
return
bool
public static bool NextBool(this Random random) { return random.NextDouble() < 0.5; }
RandomExtensions
NextBool
NextDouble