What is the difference between returning iqueryable vs ienumerable?
Answer / Pradip Kumar Dubey
Returning IQueryable allows deferred execution of LINQ queries until they are actually enumerated, enabling the provider to optimize and modify the query. Returning IEnumerable executes the query immediately, returning a collection that can be traversed but cannot be modified.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a constructor be private in c#?
What is CASPOL?
Why do we use dictionary in c#?
What is the signature of a method?
what is work of continue statement in C#?
What is the difference between protected and protected internal?
What is the solution if you need to manipulate sets of items?
What is the main usage of keyword “virtual†? How does it work for a method or property?
Is array reference type / value type ?
6 Answers Accenture, BirlaSoft,
If dll and exe files are same it means you can deploy both the files in gac?
Can we maintain state in webservice?
Is c# static or dynamic?
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)