Explain what is the difference between skip() and skipwhile() extension method?
Answer / Narayan Pratap Singh
Skip() skips a specified number of elements from a sequence, whereas SkipWhile() skips elements while a condition is true. In other words, Skip(n) will always skip the first n items regardless of the conditions, but SkipWhile(predicate) will continue skipping items until it reaches an item that does not meet the provided predicate.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is linq provider?
How to return iqueryable from linq query?
How to use GroupBy in LINQ?
Explain what are compiled queries?
What is the use of System.Data.DLinq.dll?
What are important features linq?
Elaborate the plinq?
What is Expression Trees?
Give the name of four LINQ Providers of .NET Framework ?
1 Answers Sans Pareil IT Services,
What are the different ways to write linq query syntax?
What is difference between into and let keyword in LINQ?
What is LINQ Insight?
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)