using System.Collections.Generic;
static void Main(string[] args)
ShopKeeper poorShopKeeper = new ShopKeeper();
Console.WriteLine(poorShopKeeper.GetWares().Count);
Mugger.Mug(poorShopKeeper);
Console.WriteLine(poorShopKeeper.GetWares().Count);
public static class Mugger
public static void Mug(ShopKeeper target)
target.GetWares().RemoveAll(x => true);
private List<string> Wares = new List<string>() { "Food", "Sword" };
public string BuyWare(string item, int coin)
public List<string> GetWares()