Skip to content

Glossary: C# Beyond the Basics

Stopwatch

A class from `System.Diagnostics` that measures elapsed time. `Stopwatch.StartNew()` starts one and `Restart()` sets it back to zero.

Where the book teaches it

Related terms

Task