title: Calculate the execution time of a method
body: <blockquote>
    <p><strong>Possible Duplicate:</strong> <br/>
    <a href="https://stackoverflow.com/questions/10107140/how-to-measure-how-long-is-a-function-running">How do I measure how long a function is running?</a></p>
  </blockquote>
  
  
  
  <p>I have an I/O time-taking method which copies data from a location to another. What's the best and most real way of calculating the execution time? <code>Thread</code>? <code>Timer</code>? <code>Stopwatch</code>? Any other solution? I want the most exact one, and briefest as much as possible.</p>