Top Categories
Anonymous Type in C# tutorial | Part - 9 | #tutorial007
- Category:
- Sub Category:
We will learn about anonymous type in c#.So watch the full video and learn what is anonymous type in c sharp and how to use var in c# tutorial for beginners in hindi with suitable example. Essentially an anonymous type is a reference type and can be defined using the var keyword. You can have one
We will learn about anonymous type in c#.So watch the full video and learn what is anonymous type in c sharp and how to use var in c# tutorial for beginners in hindi with suitable example. Essentially an anonymous type is a reference type and can be defined using the var keyword. You can have one or more properties in an anonymous type but all of them are read-only. In contrast to a C# class, an anonymous type cannot have a field or a method — it can only have properties.