System.TermInfo.ParameterizedStrings.AsInt C# (CSharp) Method

AsInt() private static method

Converts a Boolean to an Int32, with true meaning 1 and false meaning 0.
private static AsInt ( bool b ) : int
b bool The Boolean value to convert.
return int
            private static int AsInt(bool b) { return b ? 1 : 0; }