- .NET Core 2.0 By Example
- Rishabh Verma Neha Shrivastava
- 58字
- 2025-03-01 02:17:49
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).