Sets

2019-03-29  本文已影响0人  津涵

Sets 元素不重复

HashSet<T>和SortedSet<T>

1)both implement the interface ISet<T> 实现接口
2)HashSet<T> contains an unordered list of distinct items 元素无序且不重复
SortedSet<T> the list is ordered 有序

上一篇 下一篇

猜你喜欢

热点阅读