adspace
Answer Posted / Sachin Kumar Singh
Anonymous classes in C# are classes without a name. They are used when you need to create a temporary class for one-time use, such as when working with LINQ query results. Anonymous classes can only have automatic properties and cannot be inherited or instantiated outside the containing method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers