System.Collections.Generic 命名空间
来源:互联网 发布:熙然 内地网络男歌手 编辑:程序博客网 时间:2024/06/05 14:13
System.Collections.Generic 命名空间包含定义泛型集合的接口和类,用户可以使用泛型集合来创建强类型集合,这种集合能提供比非泛型强类型集合更好的类型安全性和性能。
类
类 说明 Comparer<T>为 IComparer<T> 泛型接口的实现提供基类。Dictionary<TKey, TValue>表示键和值的集合。Dictionary<TKey, TValue>.KeyCollection表示 Dictionary<TKey, TValue> 中键的集合。此类不能被继承。Dictionary<TKey, TValue>.ValueCollection表示 Dictionary<TKey, TValue> 中值的集合。此类不能被继承。EqualityComparer<T>为 IEqualityComparer<T> 泛型接口的实现提供基类。HashSet<T>表示值的集。KeyedByTypeCollection<TItem>提供一个集合,该集合的项是用作键的类型。KeyNotFoundException指定用于访问集合中元素的键与集合中的任何键都不匹配时所引发的异常。LinkedList<T>表示双向链接列表。LinkedListNode<T>表示 LinkedList<T> 中的节点。此类不能被继承。List<T>表示可通过索引访问的对象的强类型列表。提供用于对列表进行搜索、排序和操作的方法。Queue<T>表示对象的先进先出集合。SortedDictionary<TKey, TValue>表示根据键进行排序的键/值对的集合。SortedDictionary<TKey, TValue>.KeyCollection表示 SortedDictionary<TKey, TValue> 中键的集合。此类不能被继承。SortedDictionary<TKey, TValue>.ValueCollection表示 SortedDictionary<TKey, TValue> 中值的集合。无法继承此类SortedList<TKey, TValue>表示根据键进行排序的键/值对的集合,而键基于的是相关的IComparer<T> 实现。SortedSet<T>表示按排序顺序保持的对象的集合。Stack<T>表示相同任意类型的实例的可变大小的后进先出 (LIFO) 集合。SynchronizedCollection<T>提供一个线程安全集合,其中包含泛型参数所指定类型的对象作为元素。SynchronizedKeyedCollection<K, T>提供一个线程安全集合,该集合所含对象的类型由一个泛型参数指定,并且集合根据键进行分组。SynchronizedReadOnlyCollection<T>提供一个线程安全只读集合,该集合包含泛型参数所指定的类型的对象作为元素。结构 说明 Dictionary<TKey, TValue>.Enumerator枚举 Dictionary<TKey, TValue> 的元素。Dictionary<TKey, TValue>.KeyCollection.Enumerator枚举 Dictionary<TKey, TValue>.KeyCollection 的元素。Dictionary<TKey, TValue>.ValueCollection.Enumerator枚举 Dictionary<TKey, TValue>.ValueCollection 的元素。HashSet<T>.Enumerator枚举 HashSet<T> 对象的元素。KeyValuePair<TKey, TValue>定义可设置或检索的键/值对。LinkedList<T>.Enumerator枚举 LinkedList<T> 的元素。List<T>.Enumerator枚举 List<T> 的元素。Queue<T>.Enumerator枚举 Queue<T> 的元素。SortedDictionary<TKey, TValue>.Enumerator枚举 SortedDictionary<TKey, TValue> 的元素。SortedDictionary<TKey, TValue>.KeyCollection.Enumerator枚举 SortedDictionary<TKey, TValue>.KeyCollection 的元素。SortedDictionary<TKey, TValue>.ValueCollection.Enumerator枚举 SortedDictionary<TKey, TValue>.ValueCollection 的元素。SortedSet<T>.Enumerator枚举 SortedSet<T> 对象的元素。Stack<T>.Enumerator枚举 Stack<T> 的元素。接口 说明 ICollection<T>定义操作泛型集合的方法。IComparer<T>定义类型为比较两个对象而实现的方法。IDictionary<TKey, TValue>表示键/值对的泛型集合。IEnumerable<T>公开枚举器,该枚举器支持在指定类型的集合上进行简单迭代。IEnumerator<T>支持在泛型集合上进行简单迭代。IEqualityComparer<T>定义方法以支持对象的相等比较。IList<T>表示可按照索引单独访问的一组对象。ISet<T>提供用于集的抽象化的基接口。
结构
接口
- System.Collections.Generic 命名空间
- System.Collections.Generic命名空间
- System.Collections.Generic 命名空间
- System.Collections.Generic 命名空间
- System.Collections.Generic 命名空间1
- System.Collections.Generic 命名空间接口、结构
- 定义泛型集合的命名空间:System.Collections.Generic
- System.Collections 命名空间
- System.Collections命名空间
- System.Collections命名空间
- System.Collections命名空间
- System.Collections.Generic
- System.Collections、System.Collections.Generic、System.Collections.Specialized
- C#学习之System.Collections.Generic 与 System.Collections 记录
- 为什么要使用using System.Collections.Generic;?
- System.Collections.Generic.IEnumerable<T>接口
- System.Collections.Generic.Dictionary`2.Insert System.NullReferenceException
- C#:关于System.Collections空间
- android 动态加载按钮并为按钮设置点击事件
- 创建简单的静态库和动态库
- 使用cuzysdk 手机淘客轻松实现9.9元包邮模块
- Struts2 Preparable接口
- #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE
- System.Collections.Generic 命名空间
- my makefile
- linux中避免竞争条件的途径
- 一个优秀创业团队需要的6种人
- 电容随笔
- [Teamcenter 2007 开发系列] 整合Extjs 展现页面组件
- ext2 源代码解析之 “从路径名到目标结点” (一)
- iphone ios取出视频的每一帧图片(关键帧,AVAssetImageGenerator)
- android dev day8