Method Restart
Restart(Stopwatch)
Restarts the stopwatch by stopping, resetting, and then starting it.
Declaration
public static void Restart(this Stopwatch stopwatch)
Parameters
Type | Name | Description |
---|---|---|
Stopwatch | stopwatch | The stopwatch to restart. |