Constructor ReadOnlyHashSet ReadOnlyHashSet(HashSet<T>) Initializes a new instance of the ReadOnlyHashSet<T> class. Declaration public ReadOnlyHashSet(HashSet<T> set) Parameters Type Name Description HashSet<T> set The hash set to wrap.