Esempio n. 1
0
        static void Main()
        {
            Console.WriteLine("Какой коффе: americano, latte, espresso, capucino");

            string coffee = Console.ReadLine().ToLower();

            Console.WriteLine();

            CoffeeMaker coffeeMaker = new CoffeeMaker();

            coffeeMaker.MakeCoffe(coffee);
        }
Esempio n. 2
0
 public static void DoAction(CoffeeMaker coffee)
 {
     coffee.MakeCoffe();
     Console.WriteLine("Details about the coffee: " + coffee.GetDetails());
 }