Remove redundant delegate constructor call?
I downloaded ReSharper and it is telling me to change this line: dispMap.OnDraw += new EventHandler(dispMap_OnDraw); To be this line: dispMap.OnDraw += dispMap_OnDraw; Because the first line is a "redundant delegate constructor call." Is this true? In the automatically generated designer code for forms the syntax is based on the first piece of code and when typing in dispMap.OnDraw += and hitting TAB the IDE automatically generates new EventHandler(dispMap_OnDraw) I'm just curious about this one. Does ReSharper have a point? Yes, this is correct. I have done this in several cases. The delegate