System.Collections.Specialized

Overview

The System.Collections.Specialized namespace contains specialized collection classes. These classes provide functionality beyond the basic collection types found in System.Collections, such as collections that are case-insensitive, synchronized, or that provide notification when items are added or removed.

Classes

StringCollection

Class

Represents a collection of strings. This class offers methods for manipulating the collection, such as adding, removing, and searching for strings.

Learn more »

StringDictionary

Class

Represents a collection of key/value pairs where the keys are strings and the values are also strings. It is case-insensitive by default.

Learn more »

NameValueCollection

Class

Represents a collection of strongly typed collection of key/value pairs. Keys can be duplicated. It is case-insensitive by default.

Learn more »

OrderedDictionary

Class

Represents a collection of key/value pairs that allows duplicate keys and maintains the order in which entries are added. It implements IDictionary.

Learn more »

HybridDictionary

Class

Represents a collection that uses a ListDictionary for small collections and a Hashtable for large collections.

Learn more »

ListDictionary

Class

Represents a collection of key/value pairs that is implemented as a linked list. It is optimized for small collections.

Learn more »

Enumerations

CollectionChangedEventArgs

Class

Provides data for the CollectionChanged event.

Learn more »