Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
BF2Statistics
BoolExtensions
ToInt32
BF2Statistics.BoolExtensions.ToInt32 C# (CSharp) Метод
Документация по классу BoolExtensions
Показать файл
Открыть проект
ToInt32()
публичный
статический
Метод
Converts the boolean value into an int. Returns 1 if the value is true, 0 otherwise
public
static
ToInt32
(
this
value
) :
int
value
this
Результат
int
public static int ToInt32(this bool value) { return value ? 1 : 0; }
BoolExtensions
ToInt32