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 |
List out the data context functions. Where do we use “submitchanges()"?
Mention what is the role of datacontext classes in linq?
What are the linq standard query operators in linq?
how LINQ with databases can be used?
What do you understand by datacontext class? How is it related to linq?
What is linq example?
What are disadvantages of LINQ?
What is the benefit of using linq on dataset?
How can you find average of student marks from student tables (columns are studentid, marks)?
Write a program using skip and take operators. How can it beneficial for bulky data accessing on page?
Is linq better than stored procedure?
What is linq in sql?
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)