8

I need a collection that works just like a Dictionary/Hashtable in a sense that it will only contain 1 instance of a given object at any time. A generic class would be preferable, but I'll take what I can get. Does this collection live somewhere in the framework?

CodesInChaos
  • 106,488
  • 23
  • 218
  • 262
Micah
  • 111,873
  • 86
  • 233
  • 325

1 Answers1

17

HashSet<T> from System.Core.dll

CodesInChaos
  • 106,488
  • 23
  • 218
  • 262
Ilya Ryzhenkov
  • 11,782
  • 1
  • 40
  • 50