The .net EventHandler is limited to Templates that inherits from EventArgs. How is that done? The implementation (Got to refference in vs) shows the following code:
[Serializable]
public delegate void EventHandler<TEventArgs>(object sender, TEventArgs e);
But i think TEventArgs is just a name. How can I write a typed delegate that is limites to anything that inherits from MyClass?