Possible Duplicate: How do I measure how long a function is running?
I have an I/O time-taking method which c
If you are interested in understand performance, the best answer is to use a profiler.
Otherwise, System.Diagnostics.StopWatch provides a high resolution timer.