# Collection

*noun*

say it: **“kuh-LEK-shun”** **/kəˈlɛkʃən/**

An object that holds a group of values together, such as a list or a dictionary.

## What is **Collection** in C#?

**Collection** — An object that stores and organizes a group of values.

```csharp
class TaskList
{
    ICollection<string> tasks = new List<string>();
}
```

## In a sentence

- “I kept the cart's items in a **collection** so I could add and remove them.”

Level: Freelancer · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=4)

Updated: November 9, 2026

## In other subjects

- [Collection in NoSQL](https://www.ask-codey.com/glossary/collection-nosql)

Source: https://www.ask-codey.com/glossary/collection
