Possible Duplicate:
C#: Difference between ' += anEvent' and ' += new EventHandler(anEvent)'
In C# .NET 3.5, the compiler doesn't care if I do this (assume ButtonClickHandler is a function):
button.OnButtonClicked += ButtonClickHandler;
or:
button.OnButtonClicked += new ButtonClickHandlerDelegate( ButtonClickHandler );
Are these functionally the same? I read the stackoverflow question below, but I'm not sure if it applies to this scenario as well:
The difference between implicit and explicit delegate creation (with and without generics)