IEnumerable<T>

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

What is IEnumerable<T> in C#?

IEnumerable<T> — An interface for a sequence that can be visited one item at a time.

class Playlist
{
    IEnumerable<string> songs = new List<string>();
}

Level: Freelancer · More C# terms at this level

Updated