Skip to content

)}

IQuaternaryList.RemoveMany(Func) method

Defined in

Type: IQuaternaryList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

int RemoveMany(Func<T, bool> predicate)

Summary: Removes all elements that match the specified predicate from the collection.

Parameters

NameTypeDescription
predicateFunc (opens in a new tab)A function that returns true for elements that should be removed.

Returns: int (opens in a new tab) -- The number of elements removed from the collection.

Remarks

This method provides an efficient way to remove multiple items based on a condition without having to enumerate the collection separately.