Прочитај на енглеском Уреди

Делите путем


FrozenSet<T>.Overlaps(IEnumerable<T>) Method

Definition

Determines whether the current set overlaps with the specified collection.

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

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Returns

true if the current set and other share at least one common element; otherwise, false.

Implements

Applies to

Производ Верзије
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)