HashSet<T>.AlternateLookup<TAlternate>.Contains Method

Definition

Determines whether a set contains the specified element.

C#
public bool Contains(TAlternate item);

Parameters

item
TAlternate

The element to locate in the set.

Returns

true if the set contains the specified element; otherwise, false.

Applies to

Product Versions
.NET 9