The BitAnd
, BitOr
and BitXor
operators are called the bitwise operators and perform the specified bit operation on the two operands. No overflows are possible from these operations. The bitwise operators are specified on Byte
, Short
, Integer
, Long
and all enumerated types. The enumerated type operators do the bitwise operation on the underlying type of the enumerated type, but the return value is the enumerated type.
BitAnd
Expression |BitOr
Expression |BitXor
Expression