static void Main(string[] args) { Owner owner = new Owner(); Safe safe = new Safe(); JewelThief jewelThief = new JewelThief(); Locksmith lockSmith = new Locksmith(); jewelThief.OpenSafe(safe, owner); lockSmith.OpenSafe(safe, owner); Console.ReadKey(); }
public void PickLock(Locksmith lockpicker) { lockpicker.WriteDownCombination(safeCombination); }