# IEnumerable&lt;T>

An interface for a sequence that can be visited one item at a time.

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

**IEnumerable&lt;T>** — An interface for a sequence that can be visited one item at a time.

```csharp
class Playlist
{
    IEnumerable<string> songs = 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/ienumerable-t
