Based on my "answer" to the question "The stopwatch in the task seems additive for all tasks, you just need to measure the interval of the task"
What are the possible differences between creating a new Stopwatch instance like:
Stopwatch timer = System.Diagnostics.Stopwatch.StartNew();
with
Stopwatch timer = new Stopwatch(); timer.Start();
Sub-query is implied:Why was the method proposed StartNew()?
StartNew()
StartNew, create a new instance of the stopwatch and run it.
StartNew
Simple newis just a stopwatch instance. He does not start the Stopwatch.
new
, Start, Stopwatch.StartNew()
Start
Stopwatch.StartNew()
. .StartNew() - MSDN
"" .
StartNew .
StartNew()?
. StartNew .
, StartNew factory API , .