Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
If the source sequence represents an infinite set or series and all elements satisfy the given condition, this will never return!
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- source
- Type: Sequences ISequence TSource
A sequence to return elements from.
- predicate
- Type: System Func TSource, Boolean
A function to test each element for a condition.
Type Parameters
- TSource
- The type of the elements of source.
Return Value
Type: ISequence TSourceA sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ISequence TSource . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also