private static void PrintElapsed(int start) { var now = Environment.TickCount; Console.WriteLine("Took {0:0.00} seconds", (now - start)/1000.0); }