Exemplo n.º 1
0
        public BitFlags Clone()
        {
            BitFlags newFlag = new BitFlags();

            newFlag.value = this.value;
            return(newFlag);
        }
 public static void Main()
 {
     Enums.Go();
     BitFlags.Go();
 }
Exemplo n.º 3
0
 public byte Set4Bits(BitFlags a, BitFlags b, BitFlags c, BitFlags d)
 {
     return((byte)(a | b | c | d));
 }