List<T> (C#)

A List<T> is C#'s resizable array — an ordered collection of items of type T that can grow and shrink. You add items with .Add() and access them by…

Welcome to LearnCodingFast — free, interactive programming lessons covering Python, JavaScript, Java, C++, C#, SQL, HTML/CSS, React, AI and more. Every course is hands-on with examples you can run in your browser.

Loading interactive version…