How var type is different from anonymous type?
Answer / 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 |
What are benefits and advantages of linq?
What is the difference between first () and firstordefault () select methods in linq?
Explain linq lambda expression with example?
What are the types of LINQ?
What is a lambda expression?
How is datacontext class related to linq?
What is the linq in c#?
What are the three main components of linq?
Does java have linq?
Does entity framework use linq?
What is difference among Any, All and Contains?
How can you create Expression Trees?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)