List<T>

The .NET growable array: items keep their order, reading by index is constant time, and searching by value walks the whole list.

In more detail

It is the everyday collection for an ordered group of items. Return IReadOnlyList<T> from services so callers cannot change the list you own.

Related terms

Taught in

References