using System.Collections.Generic;
public static void Main()
Chest myChest = new Chest();
Console.WriteLine($"Newly created Chest, does it contain anything? {Container.IsEmpty(myChest)}");
myChest.Equipment.Add("item 1");
Console.WriteLine($"I added an item, what about now? {Container.IsEmpty(myChest)}");
Equipment = new List<string>();
public List<string> Equipment
public static bool IsEmpty(Container checkMe)
return checkMe.Equipment.Count > 0;
public class Chest : Container