System.Collections.ObjectModel Namespace

The System.Collections.ObjectModel namespace contains classes that can be used as collections in the object model of a reusable library. Use these classes when properties or methods return collections.

Classes

Collection<T>

Provides the base class for a generic collection.

KeyedCollection<TKey,TItem>

Provides the abstract base class for a collection whose keys are embedded in the values.

ObservableCollection<T>

Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.

ReadOnlyCollection<T>

Provides the base class for a generic read-only collection.

ReadOnlyDictionary<TKey,TValue>.KeyCollection

Represents a read-only collection of the keys of a ReadOnlyDictionary<TKey,TValue> object.

ReadOnlyDictionary<TKey,TValue>.ValueCollection

Represents a read-only collection of the values of a ReadOnlyDictionary<TKey,TValue> object.

ReadOnlyDictionary<TKey,TValue>

Represents a read-only, generic collection of key/value pairs.

ReadOnlyObservableCollection<T>

Represents a read-only ObservableCollection<T>.