System.Collections.Generic 命名空间
来源:互联网 发布:正太捏脸数据 剑网三3 编辑:程序博客网 时间:2024/06/05 20:29
.NET Framework 类库
System.Collections.Generic 命名空间
注意:此命名空间在 .NET Framework 2.0 版中是新增的。
System.Collections.Generic 命名空间包含定义泛型集合的接口和类,泛型集合允许用户创建强类型集合,它能提供比非泛型强类型集合更好的类型安全性和性能。
类
类
说明
Comparer
为 IComparer 泛型接口的实现提供基类。
Dictionary
表示键和值的集合。
Dictionary.KeyCollection
表示 Dictionary 中键的集合。无法继承此类。
Dictionary.ValueCollection
表示 Dictionary 中值的集合。无法继承此类。
EqualityComparer
为 IEqualityComparer 泛型接口的实现提供基类。
KeyNotFoundException
指定用于访问集合中元素的键与集合中的任何键都不匹配时所引发的异常。
LinkedList
表示双向链表。
LinkedListNode
表示 LinkedList 中的节点。无法继承此类。
List
表示可通过索引访问的对象的强类型列表。提供用于对列表进行搜索、排序和操作的方法。
Queue
表示对象的先进先出集合。
SortedDictionary
表示按键排序的键/值对的集合。
SortedDictionary.KeyCollection
表示 SortedDictionary 中键的集合。无法继承此类。
SortedDictionary.ValueCollection
表示 SortedDictionary 中值的集合。无法继承此类
SortedList
表示键/值对的集合,这些键/值对基于关联的 IComparer 实现按照键进行排序。
Stack
表示同一任意类型的实例的大小可变的后进先出 (LIFO) 集合。
接口
接口
说明
ICollection
定义操作泛型集合的方法。
IComparer
定义类型为比较两个对象而实现的方法。
IDictionary
表示键/值对的泛型集合。
IEnumerable
公开枚举数,该枚举数支持在指定类型的集合上进行简单迭代。
IEnumerator
支持在泛型集合上进行简单迭代。
IEqualityComparer
定义方法以支持对象的相等比较。
IList
表示可按照索引单独访问的一组对象。
结构
结构
说明
Dictionary.Enumerator
枚举 Dictionary 的元素。
Dictionary.KeyCollection.Enumerator
枚举 Dictionary.KeyCollection 的元素。
Dictionary.ValueCollection.Enumerator
枚举 Dictionary.ValueCollection 的元素。
KeyValuePair
定义可设置或检索的键/值对。
LinkedList.Enumerator
枚举 LinkedList 的元素。
List.Enumerator
枚举 List 的元素。
Queue.Enumerator
枚举 Queue 的元素。
SortedDictionary.Enumerator
枚举 SortedDictionary 的元素。
SortedDictionary.KeyCollection.Enumerator
枚举 SortedDictionary.KeyCollection 的元素。
SortedDictionary.ValueCollection.Enumerator
枚举 SortedDictionary.ValueCollection 的元素。
Stack.Enumerator
枚举 Stack 的元素。
- 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空间
- struts2 标签使用异常 The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filte
- 入门级PHP程序员面试题
- C++操作符重载有点儿好耍
- [Android应用] 问题2:ERROR: unknown virtual device name: my_avd
- Windows Presentation Foundation 简介
- System.Collections.Generic 命名空间
- The famous remarks
- IT外企那点儿事(1-4)
- Windows Presentation Foundation 简介
- Http协议错误信息
- Xcode使用入门
- 给七期搭建机房收费系统服务器_解决多步OLEDB操作错误问题
- 程序员谈如何掌握计算机专业英语
- Eclipse 珍しい書物