Click or drag to resize
Stopwatch Methods

The Stopwatch type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Stops time interval measurement and resets the elapsed time to zero.
Public methodRestart
Stops time interval measurement, resets the elapsed time to zero, and starts measuring elapsed time.
Public methodStart
Starts, or resumes, measuring elapsed time for an interval.
Public methodStatic memberStartNew
Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time.
Public methodStop
Stops measuring elapsed time for an interval.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also