ardiardianto.blogspot.com
using System.Diagnostics;
Stopwatch sw = new Stopwatch(); //create object sw.Start(); // start the stopwatch //do something here sw.Stop(); // stop the stopwatch Console.WriteLine("Time elapsed : " + sw.ElapsedMilliseconds.ToString());
No comments:
Post a Comment