RemoveDuplicates Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodStatic memberRemoveDuplicates<(Of <T>)>(IEnumerable<(Of <T>)>)
Remove consecutive equal items from a collection, yielding another collection. In each run of consecutive equal items in the collection, all items after the first item in the run are removed.
Public methodStatic memberRemoveDuplicates<(Of <T>)>(IEnumerable<(Of <T>)>, IEqualityComparer<(Of <T>)>)
Remove consecutive equal items from a collection, yielding another collection. In each run of consecutive equal items in the collection, all items after the first item in the run are removed. A passed IEqualityComparer is used to determine equality.
Public methodStatic memberRemoveDuplicates<(Of <T>)>(IEnumerable<(Of <T>)>, BinaryPredicate<(Of <T>)>)
Remove consecutive "equal" items from a collection, yielding another collection. In each run of consecutive equal items in the collection, all items after the first item in the run are removed. The passed BinaryPredicate is used to determine if two items are "equal".

See Also