Introduction
As you may know, if the caller want to respond to any event, it must create a method -(event handler) that matches the signature of it's associated delegate. Such method is only called by the event associated delegate object.
(if you don't know about delegates and events see my articles Delegates in C#, Events in C#).
Example
As you can see, event handler methods such as (myClass1_MyEvent) are never called by any part of the application other than the invoking delegate so you need it only to handle you event.
You can associate a delegate directly to a block of code statements at the time of event registration. Such code is named anonymous method.
The next example will show you how to handle the events using anonymous methods:
Notice that when you use the anonymous methods you don't need to define any static event handlers. Rather, the anonymous methods are defined at the time the caller is handling the event.
Note: You are not required to receive the incoming arguments sent by a specific event. but if you want to make use of the incoming arguments you will need to specify the parameters defined by the delegate type (just like the second handler in the previous example).
Example
we're done, I hope you now have a good understanding of anonymous methods in C#.