Exemple #1
0
        static void Main(string[] args)
        {
            Rose      redRose         = new Rose();
            Irise     blueIrise       = new Irise();
            Tulip     whiteTulip      = new Tulip();
            Sunflower yellowSunflower = new Sunflower();

            FlowerShop       MacsFlowerShop = new FlowerShop();
            List <IBirthday> Arrangment     = MacsFlowerShop.MakeBirthdayArrangment();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Rose      redRose         = new Rose();
            Sunflower yellowSunflower = new Sunflower();
            Daisy     whiteDaisy      = new Daisy();
            Tulip     orangeTulip     = new Tulip();

            FlowerShop       MacsFlowerShop = new FlowerShop();
            List <IBirthday> Arrangment     = MacsFlowerShop.MakeBirthdayArrangment();
        }
Exemple #3
0
        static void Main(string[] args)
        {
            Rose       darkBlueRose    = new Rose();
            Lilly      sweetLilly      = new Lilly();
            Orchid     ollieOrchid     = new Orchid();
            Snapdragon fallenDragon    = new Snapdragon();
            Sunflower  sillySnapdragon = new Sunflower();

            FlowerShop       GarrettsFlowerShop = new FlowerShop();
            List <IBirthDay> Arrangement        = GarrettsFlowerShop.MakeBirthdayDayArrangement();

            Console.WriteLine(darkBlueRose);
        }