title: What is the proper way to Dispose of a class with a Timer?
body: <p>Let's say I have a class which has a Timer object that doesn't do any critical work - just some GUI work. Let's say there are 2 scenarios where the timer elapses every 5 minutes:</p>
  
  <ol>
  <li>in the <code>Timer_Elapsed</code> delegate there is a lot of work that is done and it takes 2 minutes to complete. </li>
  <li>in the <code>Timer_Elapsed</code> delegate there is little work to be done and it takes a couple of milliseconds to complete</li>
  </ol>
  
  <p>What is the proper way to dispose of the object &amp; timer? Does the amount of time the <code>Timer_Elapsed</code> event delegate runs influence your decision on how to Dispose properly? </p>