Esempio n. 1
0
 public void MakeBouquet()
 {
     Console.WriteLine("You made a bouquet, the current stem lengths are");
     BouquetItems.ForEach(item => Console.WriteLine($"{item.StemLength} ''"));
 }
 public void MakeBouquet()
 {
     Console.WriteLine("You made a bouquet; the current stem lengths are ");
     // Only have access to properties of IBouquetItem interface - StemLength
     BouquetItems.ForEach(item => Console.WriteLine($"{item.StemLength}"));
 }