Esempio n. 1
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();
        }
Esempio n. 2
0
        static void MyOtherLesson12Examples()
        {
            Shoes myShoes = new Shoes();

            myShoes.Worn();
        }