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 is a linq expression?
What is difference between ADO.NET and LINQ to SQL?
what is the purpose of LINQ providers in LINQ?
what are compiled queries?
Where in linq query with multiple conditions?
Why do we use “contains"? Method for strings type functions?
How are standard query operators useful in linq?
What is lambda expression in linq c#?
What is using system linq in c#?
What are deferred execution and immediate execution?
Differentiate between linq and stored procedure?
When to use Single, SingleOrDefault, First and FirstOrDefault?
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)