Recently I've been wondering if there is any significant difference between this code:
public event EventHandler<MyEventArgs> SomeEvent;
And this one:
public delegate void MyEventHandler(object sender, MyEventArgs e);
public event MyEventHandler SomeEvent;
They both do the same thing and I haven't been able to tell any difference. Although I've noticed that most classes of the .NET Framework use a custom event handler delegate for their events. Is there a specific reason for this?