In C#, when registering a event handler, you have two options (btn
is of type System.Windows.Controls.Button
):
btn.Click += new RoutedEventHandler (ButtonClick)
and
btn.Click += ButtonClick
.
What's the semantic difference between them and their implications?