Differences in assigning C# event handlers?
问题 I've always assigned event handlers like this, guided by Intellisense auto-completion. RangeSelector.RangeChanged += new EventHandler(RangeSelector_RangeChanged); I've recently noticed one of my colleagues does it this way. RangeSelector.RangeChanged += RangeSelector_RangeChanged; Both methods are syntactically correct, compile and behave as expected. What are the differences, benefits or disadvantages of these methods. Do they result in the same IL code or is there some subtle difference