Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var a = new Coffee();
            var b = new Tea();

            a.prepareRecipe();
            b.prepareRecipe();

            Console.ReadKey();
        }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     Tea MyTea = new Tea();
     MyTea.PrepareRecipe();
 }
        static void Main(string[] args)
        {
            Tea MyTea = new Tea();

            MyTea.PrepareRecipe();
        }