If you're looking for time measurements, use the Stopwatch
class.
This allows you to easily measure some time using the Start()
and Stop()
method. The Elapsed
property will then tell you how long the operation took.
Pieter
2010-10-30 20:40:51