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
System
TermInfo.ParameterizedStrings
AsBool
System.TermInfo.ParameterizedStrings.AsBool C# (CSharp) Method
TermInfo.ParameterizedStrings Class Documentation
Show file
Open project: dotnet/corefx
AsBool()
private
static
method
Converts an Int32 to a Boolean, with 0 meaning false and all non-zero values meaning true.
private
static
AsBool
(
Int32
i
) :
bool
i
Int32
The integer value to convert.
return
bool
private static bool AsBool(Int32 i) { return i != 0; }
TermInfo.ParameterizedStrings
AsBool
AsInt
Evaluate
EvaluateInternal
FormatPrintF
GetDynamicOrStaticVariables