List<T>

noun

say it: “LIST uv TEE” /lɪst əv tiː/

C#'s resizable list of values of one type, kept in order and read by position.

What is List<T> in C#?

List<T> — A resizable, ordered collection accessed by zero-based index.

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

In a sentence

  • “The reading list is a List<string>, and I add a title whenever I find a new book.”

Level: Freelancer · More C# terms at this level

Updated