Ejemplo n.º 1
0
 public override void Fit(Chair chair)
 {
     Console.WriteLine($"{chair.GetType().Name} perfectly fits to the {GetType().Name}");
 }
Ejemplo n.º 2
0
 public string ChooseYourFurniture()
 {
     return($"Today I will purchase a {_chair.GetType().Name}, {_sofa.GetType().Name}, and {_coffeeTable.GetType().Name}.");
 }