AriDEVParser.Util.Extensions.ToByte C# (CSharp) Method

ToByte() public static method

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