Storing multiple objects in collections
Another of the most common types of data is collections. If you need to store multiple values in a variable, then you can use a collection.
A collection is a data structure in memory that can manage multiple items in different ways, although all collections have some shared functionality.
The most common types in .NET for working with collections are shown in the following table:
Namespace |
Example type(s) |
Description |
|
|
Interfaces and base classes used by collections. |
|
|