예제 #1
0
        public static void Main()
        {
            var cust12Order = new ItalianHoagie();

            cust12Order.MakeSandwich();

            var cust13Order = new VeggieHoagie();

            cust13Order.MakeSandwich();
        }
예제 #2
0
        static void Main(string[] args)
        {
            ItalianHoagie cust12Hoagie = new ItalianHoagie();

            cust12Hoagie.MakeSandwich();

            Console.WriteLine("-----------------------");

            VeggieHoagie cust13Hoagie = new VeggieHoagie();

            cust13Hoagie.MakeSandwich();
        }