byte byte1 = 0b_0000_0000; byte byte2 = 0b0100_0000;
Yihuo
public enum DataFormat : byte { List = 0b_0000_0000, Binary = 0b_0010_0000, Boolean = 0b_0010_0100, ASCII = 0b_0100_0000, }
The "_" dispensable
byte byte1 = 0b_0000_0000; byte byte2 = 0b0100_0000;
Yihuo
public enum DataFormat : byte { List = 0b_0000_0000, Binary = 0b_0010_0000, Boolean = 0b_0010_0100, ASCII = 0b_0100_0000, }
The "_" dispensable