static void Main(string[] args) { FlowerShop BriansBulbs = new FlowerShop(); BriansBulbs.MakeMothersDayArrangement() .ForEach(flower => Console.WriteLine(flower)); }
static void Main(string[] args) { Rose redRose = new Rose(); redRose.Color = "red"; redRose.Name = "Jack"; redRose.Thorny = "really thorny"; redRose.Fragrant = "heavenly"; redRose.WaterSchedule = "once a day"; redRose.Cost = 45; DeathThorn blackDeathThorn = new DeathThorn(); blackDeathThorn.Name = "Happy"; blackDeathThorn.Cost = 100; blackDeathThorn.PedalCount = 5; blackDeathThorn.StemLength = 20; blackDeathThorn.Location = "Skyrim"; PoisonBloom pinkPoisonBloom = new PoisonBloom(); Tulip yellowTulip = new Tulip(); FlowerShop myFlowerShop = new FlowerShop(); }
static void Main(string[] args) { Rose miniRose = new Rose(); miniRose.Color = "Pink"; miniRose.Cost = 1.50; miniRose.Fragrant = true; miniRose.Name = "Mini Rose"; miniRose.Thorny = true; miniRose.Type = "rose"; miniRose.Water = "weekly"; Tulip yellowTulip = new Tulip(); yellowTulip.Color = "Yellow"; yellowTulip.Cost = 1.99; yellowTulip.Fragrant = false; yellowTulip.Name = "Yellow Belly"; yellowTulip.Thorny = false; yellowTulip.Type = "tulip"; yellowTulip.Water = "daily"; Carnation pinkCarnation = new Carnation(); Sunflower sunflower = new Sunflower(); FlowerShop myFlowerShop = new FlowerShop(); List <IGetWell> arrangement = myFlowerShop.MakeGetWellArr(); }
static void Main(string[] args) { FlowerShop myShop = new FlowerShop(); myShop.MothersDayArrangement.ForEach(arr => { arr.Describe(); }); }
static void Main(string[] args) { FlowerShop GoldenrodFlowers = new FlowerShop(); GoldenrodFlowers.MakeMothersDayArragement() .ForEach(flower => Console.WriteLine(flower)); GoldenrodFlowers.MakeBirthDayArragement() .ForEach(flower => Console.WriteLine(flower)); }
static void Main(string[] args) { var Bobby = new Rose(); var Dandy = new Dandelion(); var Sunny = new Sunflower(); var Vi = new Violet(); FlowerShop MacsFlowerShop = new FlowerShop(); List <IBirthDay> Arrangement = MacsFlowerShop.MakeBirthDayArrangement(); }
static void Main(string[] args) { Rose redRose = new Rose(); Sunflower sunFlower = new Sunflower(); Tulip tulip = new Tulip(); Lilly lilly = new Lilly(); FlowerShop MacsFlowerShop = new FlowerShop(); List <IBirthday> Arrangement = MacsFlowerShop.MakeBirthdayArrangement(); }