Algorithms..::..Partition<(Of <(<'T>)>)> Method
Partition a list or array based on a predicate. After partitioning, all items for which
the predicate returned true precede all items for which the predicate returned false.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
Type Parameters
- T
Parameters
- list
- Type: IList<(Of <(<'T>)>)>
The list or array to partition.
- predicate
- Type: Predicate<(Of <(<'T>)>)>
A delegate that defines the partitioning condition.