public class Stopwatch
Thetype exposes the following members.
Gets the total elapsed time measured by the current instance.
Get the total elapsed time measured by the current instance, in milliseconds.
Gets the total elapsed time measured by the current instance, in timer ticks.
Gets the frequency of the timer as the number of ticks per second. This field is read-only.
Indicates whether the timer is based on a high-resolution performance counter.
Gets a value indicating if the current Stopwatch timer is running.
Gets the current number of ticks in the timer mechanism.
Stops the current time measurement and resets to elapsed time to zero.
Starts, or resumes, measuring elapsed time.
Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time.
Stops measuring elapsed time.