AriDEVParser.Util.Extensions.ToByte C# (CSharp) 메소드

ToByte() 공개 정적인 메소드

public static ToByte ( this boolean ) : byte
boolean this
리턴 byte
        public static byte ToByte(this bool boolean)
        {
            return (byte)(boolean ? 1 : 0);
        }