title: c# - How to stop a timer Immediately
body: <p>I have a System.Timers.Timer with 100 interval. my question is that if I set enable = false in timer, is current working process in timer method stop immediately? or after method finished.</p>
  
  <pre><code>private void watchTags(object obj, ElapsedEventArgs handler)
      {
          for(int i=0 ; i&lt;10000;i++){
              // some works
          }
      }
  private void stop_button(){
      watcher.Enabled = false;
  }
  </code></pre>
  
  <p>is my loop immediately stop or after finish?</p>