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 is data context class? Explain its role?
Can we use LINQ with databases other than SQL Server
1 Answers Sans Pareil IT Services,
What is the use of linq in c#?
How you can retrieve a single row with linq?
Explain what is the extension of the file, when LINQ to SQL is used?
What is lambda expression in linq?
Explain what are compiled queries?
What is linq in xamarin?
What do you understand by datacontext class? How is it related to linq?
How Expressions Trees are different from Lambda Expression?
What is Expression?
Which is faster linq or stored procedure?
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)