title: How do I pass an object into a timer event?
body: <p>Ok so I am using <code>System.Timers.Timer</code> in .Net 4 with C#.</p>
  
  <p>I have my timer object like so:</p>
  
  <pre><code>var timer = new Timer {Interval = 123};
  </code></pre>
  
  <p>I have my Timer Elapsed event handler pointed at a method like so:</p>
  
  <pre><code>timer.Elapsed += MyElapsedMethod;
  </code></pre>
  
  <p>And my method looks like this:</p>
  
  <pre><code>static void MyElapsedMethod(object sender, ElapsedEventArgs e)
  {
      Console.WriteLine("Foo Bar");
  }
  </code></pre>
  
  <p>I want to pass a string into this method, how do I do this?</p>
  
  <p>Thanks</p>