Beispiel #1
0
        static void MyLesson12Examples()
        {
            Condo myCondo = new Condo();

            myCondo.DoorOpenClose();

            House myHouse = new Condo();

            myHouse.DoorOpenClose();
        } // end method my lesson 12 examples
Beispiel #2
0
        static void MyLesson12Examples()
        {
            Condo myCondo = new Condo();

            myCondo.DoorOpenClose();

            House myHouse = new Condo();
            Shoes myShoes = new Shoes();

            myShoes.Warn();
            Sandles mySandles = new Sandles();

            mySandles.Warn();
            Radio myRadio = new Clocks();

            myRadio.RadioVolumeHalfSpeed();
        }