public void Update(Nut subject) { Console.WriteLine($"The nut is now worth {_nut.Price}"); }
public NutStore(Nut nut) { _nut = nut; _nut.AddObserver(this); }