Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个像 Dictionary/Hashtable 一样工作的集合,从某种意义上说,它在任何时候都只会包含给定对象的 1 个实例。一个通用类会更好,但我会尽我所能。这个集合是否存在于框架中的某个地方?
HashSet<T>从System.Core.dll
HashSet<T>
System.Core.dll