using System; class MainClass { static void Main(string[] args) { uint a = 0; uint b = 0; a = 8 << 3; Console.WriteLine(a); b = 32 >> 4; Console.WriteLine(b); } }
64 2
3.10.shift operator | ||||
3.10.1. | The Shift Operators | |||
3.10.2. | Shift Operators in action | |||
3.10.3. | Shift Operators: shift left and right |