Click or drag to resize
AlgorithmsRemoveDuplicatesInPlace Method
Overload List
  NameDescription
Public methodStatic memberRemoveDuplicatesInPlaceT(IListT)
Remove consecutive equal items from a list or array. In each run of consecutive equal items in the list, all items after the first item in the run are removed. The removal is done in-place, changing the list.
Public methodStatic memberRemoveDuplicatesInPlaceT(IListT, IEqualityComparerT)
Remove subsequent consecutive equal items from a list or array. In each run of consecutive equal items in the list, all items after the first item in the run are removed. The replacement is done in-place, changing the list. A passed IEqualityComparer is used to determine equality.
Public methodStatic memberRemoveDuplicatesInPlaceT(IListT, BinaryPredicateT)
Remove consecutive "equal" items from a list or array. In each run of consecutive equal items in the list, all items after the first item in the run are removed. The replacement is done in-place, changing the list. The passed BinaryPredicate is used to determine if two items are "equal".
Top
See Also