What is anonymous types?

 Posted by Rasik on 5/13/2013 | Category: ADO.NET Interview questions | Views: 2971 | Points: 40
Answer:

The anonymous types (introduced in 3.0) allows compilers to work with types that were not previously defind. Anonymous types are generally used for on-the-fly types that won't be used elsewhere in the application.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Learningtorise on: 7/25/2013 | Points: 10

If they can't be used elsewhere in the application, then What purpose do they serve ???

Can you give an example also ?

Thanks

Login to post response