Beispiel #1
0
        static void Main(string[] args)
        {
            var a = new Coffee();
            var b = new Tea();

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

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

            MyTea.PrepareRecipe();
        }