static void Main(string[] args) { var makeCoffeeCommand = new Command("Make Coffee", 2, new Dictionary <string, int> { ["beans"] = 2, ["water"] = 1 }); var coffeeMaker = new CoffeeMaker("Kafe", 100, 10, new HashSet <Command> { makeCoffeeCommand }, 10, 10); Console.WriteLine(coffeeMaker.ExecuteCommand("Make Coffee", 10)); Console.WriteLine(coffeeMaker.GetInfo()); }