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
  • 103,479
  • 23
  • 206
  • 257
Micah
  • 106,911
  • 83
  • 226
  • 321

1 Answers1

17

HashSet<T> from System.Core.dll

CodesInChaos
  • 103,479
  • 23
  • 206
  • 257
Ilya Ryzhenkov
  • 11,402
  • 1
  • 39
  • 50