HashSet

An unordered collection of unique items.

Namespace Systems.Collections.Generic Inheritance Object -> HashSet<T>

Construction

var hs = new HashSet<type>();

Methods

.Add(elem) // Add elem to the set. Returns boolean if element was not already in the set.
.Contains(elem) // Return Boolean if elem is in the hashset.