using System; using System.Diagnostics; using System.Text; namespace ex1 { class Program { static void Main(string[] args) { Stopwatch st=new Stopwatch(); st.Start(); Console.WriteLine("Started"); for (ulong i2 = 0; i2 < 10000000; i2++) { ulong ul2 = i2; ul2++; } st.Stop(); Console.WriteLine("Elapsed = {0}", st.Elapsed.ToString()); if (Stopwatch.IsHighResolution) { Console.WriteLine("Timed with Hi res"); } else Console.WriteLine("Not Timed with Hi res"); Console.ReadLine(); } } }