what is the difference between Skip() and SkipWhile() extension method?
Answer / Akash Deep Gyan
Skip() skips a specified number of elements from the beginning of an enumerable collection, whereas SkipWhile() skips elements as long as a specified condition remains true. The key difference lies in the way they operate: one by count and the other by condition.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are disadvantages of LINQ?
Write LINQ query to find 2nd highest salary?
What are the benefits of a deferred execution in linq?
What are deferred execution and immediate execution?
How are standard query operators useful in linq?
How would you count the elements in a list or collection?
Can we use linq with ado net?
What is meant by linq in c#?
What is using system linq?
Does java have linq?
How to return iqueryable from linq query?
What LINQ providers are supported by LINQPad?
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)