title: How do calculate execution actual time using stopwatch in c#?
body: <p>I tried the following code in a method:</p>
  
  <pre><code>Trace.Write("START "+Datetime.now);
  //DATABASE METHOD CALL 
  SaveData();
  Trace.Write("END "+Datetime.now);
  </code></pre>
  
  <p>And I calculate the time in <code>output window</code> manually.</p>
  
  <p>How do I use <code>stopwatch</code> (start/reset/stop) to get the correct execution time?</p>