| Add(T) |
Adds the specified element to a set. |
| Clear() |
Removes all elements from a HashSet object. |
| Contains(T) |
Determines whether a HashSet object contains the specified element. |
| CopyTo() |
Copies the elements of a HashSet collection to an array. |
| CreateSetComparer() |
Returns an IEqualityComparer object that can be used for equality testing of a HashSet object. |
| Equals(Object) |
Determines whether the specified object is equal to the current object. |
| ExceptWith(IEnumerable) |
Removes all elements in the specified collection from the current HashSet object. |
| GetEnumerator() |
Returns an enumerator that iterates through a HashSet object. |
| GetHashCode() |
Serves as the default hash function. |
| GetObjectData(SerializationInfo, StreamingContext) |
Implements the ISerializable interface and returns the data needed to serialize a HashSet object. |
| GetType() |
Gets the Type of the current instance. |
| IntersectWith(IEnumerable) |
Modifies the current HashSet object to contain only elements that are present in that object and in the specified collection. |
| IsProperSubsetOf(IEnumerable) |
Determines whether a HashSet object is a proper subset of the specified collection. |
| IsProperSupersetOf(IEnumerable) |
Determines whether a HashSet object is a proper superset of the specified collection. |
| IsSubsetOf(IEnumerable) |
Determines whether a HashSet object is a subset of the specified collection. |
| IsSupersetOf(IEnumerable) |
Determines whether a HashSet object is a superset of the specified collection. |
| MemberwiseClone() |
Creates a shallow copy of the current Object. |
| OnDeserialization(Object) |
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. |
| Overlaps(IEnumerable) |
Determines whether the current HashSet object and a specified collection share common elements. |
| Remove(T) |
Removes the specified element from a HashSet object. |
| RemoveWhere(Predicate) |
Removes all elements that match the conditions defined by the specified predicate from a HashSet collection. |
| SetEquals(IEnumerable) |
Determines whether a HashSet object and the specified collection contain the same elements. |
| SymmetricExceptWith(IEnumerable) |
Modifies the current HashSet object to contain only elements that are present either in that object or in the specified collection, but not both. |
| ToString() |
Returns a string that represents the current object. |
| TrimExcess() |
Sets the capacity of a HashSet object to the actual number of elements it contains, rounded up to a nearby, implementation-specific value. |
| TryGetValue(T, T) |
Searches the set for a given value and returns the equal value it finds, if any. |
| UnionWith(IEnumerable) |
Modifies the current HashSet object to contain all elements that are present in itself, the specified collection, or both. |