C#集合

C#中集合分类

线性集合
直接存储:数组 List<T> 字符串 结构 ArrayList Array
顺序存储:Stack<T> Queue<T> HashTable Dictionary<key value> LinkedList<T>
非线性集合
    树 HashSet<T> 图

排序集合:SortedList<T> SortedDictionary<key value> HashSet<T>


线性安全的集合:
    ConcurrentBag<T>------------List<T>
ConcurrentDictionary<key value>-------------
Dictionary<key value>
ConcurrentQueue<T> --------------Queue<T>
ConcurrentStack<T>----------Stack<T>
原文地址:https://www.cnblogs.com/LGDD/p/9710011.html