title: Using Static Methods with Event Handlers
body: <p>I've inherited a C# (.NET 2.0) app that has a bunch of static methods. I need to turn one of these methods into an asynchronous event-based method. When the method is complete, I want to fire off an event-handler. My question is, can I fire off an event handler from a static method? If so, how?</p>
  
  <p>When I google, I only find IAsyncResult examples. However, I want to be able to do something like the following:</p>
  
  <pre><code>EventHandler myEvent_Completed;
  public void DoStuffAsync()
  {
    // Asynchrously do stuff that may take a while
    if (myEvent_Completed != null)
      myEvent_Completed(this, EventArgs.Empty);
  } 
  </code></pre>
  
  <p>Thank you!</p>