Tag Archives: Now

Measure elapsed time in C#

For most tasks, you can measure elapsed time with the Stopwatch or DateTime classes. To use the Stopwatch class, create a Stopwatch object. Use its Start and Stop methods to start and stop it. If you use Start after stopping … Continue reading

Posted in performance, system | Tagged , , , , , , , , , , , | 1 Comment