using System; using System.Collections.Generic; using System.Text; public static class TimingUtilities { private static long ticks; public static void startTimer() { ticks = DateTime.Now.Ticks; } public static double GetElapsedTime() { return (DateTime.Now.Ticks - ticks) / Math.Pow(10, 4); } }