I use the following methods:
DateTime and TimeSpan to calculate the execution time Console.WriteLine() to print it out.
DateTime initial = DateTime.Now;
...
TimeSpan total = DateTime.Now.Subtract( initial );
Console.WriteLine(total.TotalMilliseconds.ToString() );
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
