public void ShowData() { Console.WriteLine("My name is {0}.", name); house.ShowData(); house.Door.ShowData(); }
public void ShowData() { Console.WriteLine($"My name is {name}"); house.ShowData(); house.Door.ShowData(); }
public void ShowData() { Console.WriteLine("My name is {0}.", name); house.ShowData(); house.Door.ShowData(); }
public void ShowData() { Console.WriteLine($"My name is {name}"); house.ShowData(); house.Door.ShowData(); }