C# - Bitwise operators

We have more of the bitwise operators, using the bitwise operator we can set or determine the specific bit in whole numbers.
bitwise left shift
par1 << par2
bitwise right shift
par1 >> par2
bitwise and
par1 & par2
bitwise or
par1 | par2
bitwise xor
par1 ^ par2

C#

Other pieces of example codes:
2 << 2
x = 1 | 2
x = 8 >> 1
x = 0xf & 0xff
x = ~(32 >>2)
x = 123 ^ 25
Languages: en hu cz sk