System.Collections.Generic.HashSet

Added in .NET 3.5
System.Collections.Generic.HashSet


Fast hash-based lookup to find a given value
Items cannot be accessed by their position
Elements are unique


Methods

Contains
ExceptWith
IsProperSubset
IsProperSuperset
IsSubsetOf
IsSupersetOf
Overlaps
SetEquals
SymmetricExceptWith


All these methods accept parameters of type IEnumerabe<T>



Add Method


IntersectWith Method



UnionWith Method




© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext