using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
List<int> playerAgeList = new List<int> {23, 33, 43, 53, 63};
//To access the first item in the list, use playerAgeList[0]
Console.WriteLine(playerAgeList[0]);
//Add()
playerAgeList.Add(73);
//Count
Console.WriteLine(playerAgeList.Count);
//Insert()
playerAgeList.Insert(2 , 55);
//Puts 55 in the 3rd position in the list
//Remove()
playerAgeList.Remove(55);
//Removes the first instance of 55
//RemoveAt()
playerAgeList.RemoveAt(2);
//Removes the item at the 2 index
//Contains()
playerAgeList.Contains(23);
//Evalutes to true.
playerAgeList.Contains(11);
//Evaluations to false.
//Clear()
playerAgeList.Clear();
//All items are removed from the list.
}