title: How to use StopWatch multiple times in C#?
body: <p>I have  short code that performs different operations and I want to measure the time that takes to perform each. I read here about Stopwatch class, and wanted to optimize my time measurements.
  my functions calls 5 other functions and I want to measure each without declaring : </p>
  
  <pre><code>stopwatch sw1 = new stopwatch();
  stopwatch sw2 = new stopwatch();
  etc..
  </code></pre>
  
  <p>my function looks like that:</p>
  
  <pre><code>public bool func()
  {
   ....
   func1()
   func2()
   ....
   ....
   func5()
  }
  </code></pre>
  
  <p>is there any way to measure the time using one stopwatch instance?</p>
  
  <p>thanks!!</p>