C# Tutorial HashSet
Add
Search
Properties
- Check if a HashSet and a specified collection share common elements in CSharp
- Check if a HashSet contains the specified element in CSharp
- Get IEqualityComparer in the HashSet in CSharp
- Get the number of elements that are contained in HashSet in CSharp
- Set the capacity of a HashSet to the actual number of elements it contains in CSharp
Set-Operation
- Check if a HashSet is a proper subset of the specified collection in CSharp
- Check if a HashSet is a proper superset of the specified collection in CSharp
- Check if a HashSet is a subset of the specified collection in CSharp
- Check if a HashSet is a superset of the specified collection in CSharp
- Do Symmetric Except between two HashSet in CSharp
Copy
- Copy HashSet to an array, starting at the specified array index in CSharp
- Copy specified number of elements of a HashSet to an array, starting at the specified array index in CSharp
- Copy the elements of a HashSet to an array in CSharp
Create
- Create HashSet from another collection in CSharp
- Create HashSet with default equality comparer in CSharp
- Create IEqualityComparer object that can be used for equality testing of a HashSet in CSharp
- Create a the HashSet with specified equality comparer in CSharp
Intersect
Remove
- Remove all elements from a HashSet in CSharp
- Remove all elements in a collection from a HashSet in CSharp
- Remove elements from a HashSet with conditions defined by the predicate in CSharp
- Remove the specified element from a HashSet in CSharp