Is there a difference between
Object.Event += new System.EventHandler(EventHandler);
Object.Event -= new System.EventHandler(EventHandler);
AND
Object.Event += EventHandler;
Object.Event -= EventHandler;
? If so, what?
Aren’t they both just pointers to methods?
Both are Exactly same.
But
The above example compiles fine only in 3.0 or later version of C#, while if you are in 2.0 or before
you can only use following construct.
Look more about at Type inferencing. search for “Type Inference”