- .NET Core 2.0 By Example
- Rishabh Verma Neha Shrivastava
- 58字
- 2021-06-24 18:30:59
Bitwise operators
Bitwise operators work on bits and perform bit-by-bit operations. The truth tables for &&& (bitwise AND), ||| (bitwise OR), and ^^^ (bitwise exclusive OR) are shown as follows. In the following table, the first variable is X and the second variable is Y:

It also supports ~~~(Unary, effect of flipping bits) , <<< (left shift operator), and >>>(right shift operator).