static void MyLesson13Examples() { House myHouse = new House(); Console.WriteLine("The door color is {0}", myHouse.DoorColor); Condo myCondo = new Condo(); myCondo.DoorOpenClose(); Console.WriteLine("This foundation type is {0}", myCondo.Foundation); }
static void MyLesson11Examples() { Condo myCondo = new Condo(); myCondo.Maintenance(); myCondo.DoorOpenClose(); House myHouse = new House(); myHouse.DoorOpenClose(); myHouse.DoorOpenClose("Red"); }