1.

What is Anonymous method in csharp?

Answer»

What is Anonymous method in csharp?
As we have the name of method Anonymous. Anonymous method doesn't have any names. Anonymous methods in c# can be DEFINED by USE of delegate keyword which is assigned to a VARIABLE of delegate type.


Anonymous Method
This methods can access variables defined in an OUTER function and Anonymous methods can also be passed to a method that accepts the delegate as a parameter. Anonymous methods can also be USED as event handlers.


Anonymous Event



Discussion

No Comment Found