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.
如何在 C# 中为具有以下属性的数字集构建 ADT:设置联合、交集、差异、大小、将元素添加到集合、从集合中删除元素。
谁能给我看一个使用上述操作之一的简单程序?
微软为你构建了集合类:System.Collections.Generic.HashSet<T>.
System.Collections.Generic.HashSet<T>