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
BF2Statistics
BoolExtensions
ToInt32
BF2Statistics.BoolExtensions.ToInt32 C# (CSharp) Method
BoolExtensions Class Documentation
Show file
Open project: BF2Statistics/ControlCenter
ToInt32()
public
static
method
Converts the boolean value into an int. Returns 1 if the value is true, 0 otherwise
public
static
ToInt32
(
this
value
) :
int
value
this
return
int
public static int ToInt32(this bool value) { return value ? 1 : 0; }
BoolExtensions
ToInt32