Answer Posted / Sri Ram Yadav
"The 'var' keyword in C# is a type-inferred variable, which means the compiler automatically determines its data type based on the initial value. On the other hand, an anonymous type is a dynamic type that is created by the compiler at runtime when declaring a new object without specifying a specific class or structure."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category