title: Heterogenic list of delegates
body: <p>Is it possible to create a list containing delegates of different types ?
  For example considere this two delegates :</p>
  
  <pre><code>class MyEventArg1 : EventArgs {}
  class MyEventArg2 : EventArgs {}
  
  EventHandler&lt;MyEventArgs1&gt; handler1;
  EventHandler&lt;MyEventArgs2&gt; handler2;
  </code></pre>
  
  <p>I would like to do something like that : </p>
  
  <pre><code>List&lt;EventHandler&lt;EventArgs&gt;&gt; handlers = new List&lt;EventHandler&lt;EventArgs&gt;&gt;();
  
  handlers.Add((EventHandler&lt;EventArgs&gt;)handler1);
  handlers.Add((EventHandler&lt;EventArgs&gt;)handler2);
  </code></pre>
  
  <p>But the cast from one delegate to another seems not possible.
  My goal is to store the delegates in a list not to call them; but just to unregister them automaticly.</p>
  
  <p>Thanks</p>