Another useful class
I am probably the last person to discover this but only today I discovered the Stopwatch type in the System.Diagnostics namespace. Real nice when you want to determine how long a certain action took

Stopwatch timer = Stopwatch.StartNew();
timer.Start();
// Do some stuff you want to time.
timer.Stop();
Console.WriteLine(timer.Elapsed.ToString());
Use the Stopwatch.IsHighResolution to check if the timer is using high resolution of not.
Enjoy!