title: Cannot implicitly convert type 'System.EventHandler<xxxx>' to xxxxCompletedEventHandler
body: <p>I'm trying do some smart event handling in C#, but I'm stuck with an error message saying :</p>
  
  <p><strong>Cannot implicitly convert type 'System.EventHandler' to xxxxCompletedEventHandler</strong></p>
  
  <p>I have a piece of code that looks like this :</p>
  
  <pre><code>_ServiceAgentArt.Test((s,e) =&gt; _List = e.ListOfDTOArt, new DTOArt { Gruppe_id = 1700 });
  </code></pre>
  
  <p>And in the method Test in the class ServiceAgentArt I have the following code:</p>
  
  <pre><code>public delegate void getArterCompletedEventHandler(getArterCompletedEventArgs e);
  public class getArterCompletedEventArgs : EventArgs
  {
      public List&lt;DTOArt&gt; ListOfDTOArt { get; set; }
  }
  
  sealed class ServiceAgentArt : ServiceAgentBase
  {
      public event getArterCompletedEventHandler EventGetArterCompleted;
  
      public void Test(EventHandler&lt;getArterCompletedEventArgs&gt; e, DTOArt _DTOArt)
      {
          EventGetArterCompleted += e;
          this.GetFromWEBAPI(string.Format("/apiart/getarter?id={0}", _DTOArt.Gruppe_id));
      }
  
      protected override void client_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
      {
          if (EventGetArterCompleted != null)
              EventGetArterCompleted(new getArterCompletedEventArgs { ListOfDTOArt = e.Result.DecodeJSONFromStream&lt;List&lt;DTOArt&gt;&gt;() });
      }
  }
  </code></pre>
  
  <p>But .Net doesn't like the code line <strong>EventGetArterCompleted += e;</strong>, I fully understand what it tries to tell me, that eventargs can't be casted to eventhandler. </p>
  
  <p>I'm surely missing something here, is there a way to add the eventhandler e to the delegate EventGetArterCompleted ????</p>
  
  <p>Thanks in advance and have a happy weekend :-)</p>
  
  <p>Thomas, Copenhagen, Denmark</p>