System.TermInfo.ParameterizedStrings.AsInt C# (CSharp) 메소드

AsInt() 개인적인 정적인 메소드

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.
리턴 int
            private static int AsInt(bool b) { return b ? 1 : 0; }