title: Why Seconds show small value when actual elapsed time is in minutes?
body: <p>I have a parallel loop in a console application with a StopWatch.</p>
  <p>If I input 10000 loops it says it finishes in 13 seconds but in real world the console doesn't stop printing until 15 minutes later. So how can I properly time this loop so the stopwatch stops after the last line has finished writing to the console?
  My expected result is &quot;Process took 903 Seconds&quot;</p>
  <pre><code>int i = 0;
  int N = 10000;
  Stopwatch sw = new StopWatch();
  sw.Start
      Parallel.For(0, N, i =&gt;
              {
                  //Do some logic task here then write to the console
                  console.Writeline(&quot;Thread &quot; + i + &quot; has finished&quot;);
              });
  
  sw.Stop()
  console.WriteLine(&quot;Process took&quot; + sw.Elapsed.Seconds + &quot; Seconds&quot;);
  </code></pre>
  <p>Is is similar to <a href="https://stackoverflow.com/questions/5484382/c-sharp-timespan-milliseconds-vs-totalmilliseconds">C# Timespan Milliseconds vs TotalMilliseconds</a> where one used Milliseconds instead of TotalMilliseconds?</p>