NET Framework Class Library
Classes
Interfaces
Structures
至于 ICollection, IEnumerable是System.Collection命名空间上的接口
System.Collections.Specialized Namespace
The System.Collections.Specialized namespace contains specialized and strongly-typed collections; for example, a linked list dictionary, a bit vector, and collections that contain only strings.
Classes
| Class | Description | |
|---|---|---|
![]() | CollectionsUtil | Creates collections that ignore the case in strings. |
![]() | HybridDictionary | Implements IDictionary by using a ListDictionary while the collection is small, and then switching to a Hashtable when the collection gets large. |
![]() | ListDictionary | Implements IDictionary using a singly linked list. Recommended for collections that typically contain 10 items or less. |
![]() | NameObjectCollectionBase | Provides the abstract base class for a collection of associated String keys and Object values that can be accessed either with the key or with the index. |
![]() | NameObjectCollectionBase.KeysCollection | Represents a collection of the String keys of a collection. |
![]() | NameValueCollection | Represents a collection of associated String keys and String values that can be accessed either with the key or with the index. |
![]() | OrderedDictionary | Represents a collection of key/value pairs that are accessible by the key or index. |
![]() | StringCollection | Represents a collection of strings. |
![]() | StringDictionary | Implements a hash table with the key and the value strongly typed to be strings rather than objects. |
![]() | StringEnumerator | Supports a simple iteration over a StringCollection. |
Interfaces
| Interface | Description | |
|---|---|---|
![]() | IOrderedDictionary | Represents an indexed collection of key/value pairs. |
Structures
| Structure | Description | |
|---|---|---|
![]() | BitVector32 | Provides a simple structure that stores Boolean values and small integers in 32 bits of memory. |
![]() | BitVector32.Section | Represents a section of the vector that can contain an integer number. |
至于 ICollection, IEnumerable是System.Collection命名空间上的接口
本文介绍了 .NET Framework 中 System.Collections.Specialized 命名空间下的多种特殊且类型安全的集合类,如 LinkedListDictionary、BitVector 和仅包含字符串的集合等。此外还概述了这些集合类的特点和适用场景。




2544

被折叠的 条评论
为什么被折叠?



