# ICollection&lt;T>

An interface for a countable collection that can add, remove, and inspect items.

## What is **ICollection&lt;T>** in C#?

**ICollection&lt;T>** — An interface for a countable collection that can add, remove, and inspect items.

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

Level: Freelancer · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/icollection-t
