Explain Anonymous type in C#?
Answers
Answered by
0
Anonymous Types with a LINQ Query
Anonymous type can be defined using the new keyword and object initializer syntax.The implicitly typed variable- var, is used to hold an anonymous type.Anonymous type is a reference type and all the properties are read-only.
Anonymous type can be defined using the new keyword and object initializer syntax.The implicitly typed variable- var, is used to hold an anonymous type.Anonymous type is a reference type and all the properties are read-only.
Similar questions