HashSet, but HashSet is not available in version 2.0 of the framework. If you need something for version 2.0, then use the dictionary and specify the type of the dummy type (for example, an object, int or bool), for which you will specify a dummy value (for example, null, 0 or false) as the second / value parameter ( i.e. use the Dictionary as a set of keys without worrying about related values).
source
share