Anonymous methods in c#

Anonymous methods: Anonymous is an inline nameless block of code.

1. It accetps parameters like ref,out,generic type.
2. Cannot include jump statements like goto,break.
3. return type is not required.
4. no access modifiers are required.

1. No need to create separate named methods.
2. Number of methods count can be reduced.
3. Easy to understand.

Labels: Anonymous methods, Anonymous methods in c#, features of Anonymous methods in c#, benefits of Anonymous methods in c#


Receive Quality Tutorials Straight in your Inbox by submitting your Email below:

Delivered by FeedBurner

Protected by Copyscape Duplicate Content Checker