Monday, July 21, 2014

Anonymous types were introduced in c#3.0 mainly to support LINQ. But it has find its good use in other places also like in HTMLHelper classes available in MVC.

Anonymous types are classed which do not have any name assigned to them. They only have properties defined and initialized then and there only.

Anonymous types are not public.

No comments:

Post a Comment