public HashSet(collection as Collection<T>):
Creates a hash set from a collection. Duplicate values are ignored as they are added.