What is difference between Select and SelectMany in LINQ?
Answer / Shailendra Chandra
Select creates a new sequence by transforming each element of the input sequence, whereas SelectMany flattens an IEnumerable<IEnumerable<T>> into a single sequence.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is linq in sql?
What are the benefits of a deferred execution in linq?
What is the linq in c#?
What is the advantage of linq over stored procedures?
Explain what is “LINQ to Objects”?
Explain what are linq compiled queries?
What is linq and lambda expressions?
What does a linq query return?
what is LINQ? Why is it required?
Which classs extension methods are used in linq to sql?
What is dbml in linq to sql?
What is the difference between Count() and LongCount extension methods in LINQ?
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)