Lists: Better than Arrays
While arrays have a fixed size, List<T> can grow or shrink dynamically.
Usage:
csharp using System.Collections.Generic;
List<string> fruits = new List<string>(); fruits.Add("Apple"); fruits.Add("Banana"); fruits.Remove("Apple");
Console.WriteLine(fruits.Count);
T represents the type of data (int, string, User, etc.).