FrozenSet<T>.Overlaps(IEnumerable<T>) Méthode

Définition

Détermine si l’ensemble actuel recoupe la collection spécifiée.

C#
public bool Overlaps (System.Collections.Generic.IEnumerable<T> other);

Paramètres

other
IEnumerable<T>

Collection à comparer à l’ensemble actuel.

Retours

true si l’ensemble actuel et other partagent au moins un élément commun ; sinon, false.

Implémente

S’applique à

Produit Versions
.NET 8, 9