1 out of 1 rated this helpful - Rate this topic

Enumerable.SkipWhile Method

Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>) Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public method Static member SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource, Int32, Boolean>) Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ