public House(Basement basement, Walls walls, Door door, Window window, Roof roof) { this.roof = new Roof(); Console.WriteLine("Overload constructor (Basement, Walls, Door, Window, Roof)"); }
public House(Basement basement, Walls walls, Door door) { this.door = new Door(); Console.WriteLine("Overload constructor (Basement, Walls, Door)"); }
public House(Basement basement, Walls walls, Door door, Window window) { this.window = new Window(); Console.WriteLine("Overload constructor (Basement, Walls, Door, Window)"); }
public House(Basement basement, Walls walls) { this.walls = new Walls(); Console.WriteLine("Overload constructor (Basement, Walls)"); }