System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); Console.WriteLine("Please wait for some time. Press enter to continue..."); sw.Start(); Console.ReadLine(); sw.Stop(); Console.WriteLine("You waited for " + sw.Elapsed.Seconds + " seconds. Thanks for your patience.");