Class Watch
Provides utility methods for timing the execution of code.
public static class Watch
- Inheritance
-
Watch
- Inherited Members
Methods
Do(Action)
Executes the specified action, measures its execution time, and returns the elapsed time.
public static TimeSpan Do(Action action)
Parameters
action
ActionThe action to execute.