MyLibrary.Collections Unit

Defines the public collection abstractions and factory methods for MyLibrary.

Remarks

This unit is the main API entry point for the sample collection library. The primary entry points are IList<T>, IDictionary<TKey,TValue>, and TCollections. See Collections for an overview and usage guidance.

Classes

TCollections

Creates default collection implementations.

Interfaces

ICollection<T>

Provides methods to add and remove values.

IDictionary<TKey,TValue>

Provides access to values by key.

IEnumerable<T>

Provides an enumerator for a sequence of values.

IEnumerator<T>

Iterates over a sequence of values.

IList<T>

Provides indexed access to an ordered collection of values.

IReadOnlyCollection<T>

Provides methods to count, enumerate, and query values.