Bit Operators: move
using System; class MainClass { static void Main(string[] args) { int i = 1; for (int j = 0; j < 8; j++) { Console.WriteLine( "{0} << {1} = {2}", i, j, i << j); } } }