System.Collections.Generic

The System.Collections.Generic namespace contains interfaces and classes that define generic collections, which allow users to create strongly typed collections that provide better type safety and performance than non‑generic strongly typed collections.

List<T>

Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.

Dictionary<TKey,TValue>

Represents a collection of keys and values. Provides fast lookups based on the key.

Queue<T>

Represents a first‑in‑first‑out (FIFO) collection of objects.

Stack<T>

Represents a last‑in‑first‑out (LIFO) collection of objects.

HashSet<T>

Provides high‑performance set operations.

LinkedList<T>

Represents a doubly linked list.

ReadOnlyCollection<T>

Wraps a generic list to provide a read‑only view.