using System.Collections.Generic;
public static void Main()
var inventoryList = new List<string>();
inventoryList.Add("Fish");
inventoryList.Add("Beans");
inventoryList.Add("Car");
foreach (string item in inventoryList)
Console.WriteLine(++i + " - " + item);