ReadOnlySet<T>.ISet<T>.IntersectWith(IEnumerable<T>) Method

Definition

Modifies the current set so that it contains only elements that are also in a specified collection.

C#
void ISet<T>.IntersectWith(System.Collections.Generic.IEnumerable<T> other);

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Implements

Applies to

Produkt Versioner
.NET 9, 10