Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Rose myRose = new Rose();

            Lilly myLilly = new Lilly();

            Dandelion myDandy = new Dandelion();

            CrabGrass myCrab = new CrabGrass();

            FlowerShop       macFlowerShop = new FlowerShop();
            List <IBirthDay> Arrangement   = macFlowerShop.makeBirthdayArrangement();
        }
Exemplo n.º 2
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);
        }