Foley .NET Utilities Class Library

HashSet Constructor

Initializes a new instance of the HashSet class that is empty.

Overload List

Initializes a new instance of the HashSet class that is empty.

public HashSet();

Creates an empty HashSet with the specified initial capacity and using the default load factor, the default hash code provider and the default comparer.

public HashSet(int);

Creates an empty HashSet with the specified initial capacity and using the specified load factor, the default hash code provider and the default comparer.

public HashSet(int,float);

Creates an empty HashSet with the default initial capacity and using the default load factor, the specified hash code provider and the specified comparer.

public HashSet(IHashCodeProvider,IComparer);

Creates an empty HashSet with the specified initial capacity and using the default load factor, the specified hash code provider and the specified comparer.

public HashSet(int,IHashCodeProvider,IComparer);

Creates an empty HashSet with the specified initial capacity and using the specified load factor, the specified hash code provider and the specified comparer.

public HashSet(int,float,IHashCodeProvider,IComparer);

Initializes a new instance of the HashSet class that contains elements copied from the specified collection.

public HashSet(ICollection);

Initializes a new instance of the HashSet class that contains elements copied from the specified collection with the specified initial capacity and using the specified load factor, the default hash code provider and the default comparer.

public HashSet(ICollection,int);

Initializes a new instance of the HashSet class that contains elements copied from the specified collection with the specified initial capacity and using the specified load factor, the default hash code provider and the default comparer.

public HashSet(ICollection,int,float);

Initializes a new instance of the HashSet class that contains elements copied from the specified collection with the default initial capacity and using the default load factor, the specified hash code provider and the specified comparer.

public HashSet(ICollection,IHashCodeProvider,IComparer);

Initializes a new instance of the HashSet class that contains elements copied from the specified collection with the specified initial capacity and using the default load factor, the specified hash code provider and the specified comparer.

public HashSet(ICollection,int,IHashCodeProvider,IComparer);

Initializes a new instance of the HashSet class that contains elements copied from the specified collection with the specified initial capacity and using the specified load factor, the specified hash code provider and the specified comparer.

public HashSet(ICollection,int,float,IHashCodeProvider,IComparer);

See Also

HashSet Class | HashSet Members | Foley.Utilities.Collections Namespace