ISequence T  Partition Method A Sandcastle Documented Class Library
Returns a pair of sequences, where the first contains all the elements of this sequence that satisfy the predicate function, and the second contains the elements that don't.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Tuple<ISequence<T>, ISequence<T>> Partition(
	Func<T, bool> predicate
)

Parameters

predicate
Type: System Func T, Boolean 
The predicate used to partition the elements.

Return Value

Type: Tuple ISequence T , ISequence T  
A pair of sequences with the elements that satisfy predicate and the elements that don't.
See Also