Take the following sample class which has a property and an event listener
In C# 6.0 when you initialize a new object wire up delegate to the event inside the object initialization syntax. Before C# 6.0 it was illegal.
Also you can directly assign the lambda to the event as follows.
Happy Coding !!!