Example #1
0
        static void MyOtherlesson12Examples2()
        {
            Radio myRadio = new Radio();

            myRadio.RadioPlaysMusic();

            CarStereo myCarstereo = new CarStereo();

            myCarstereo.RadioPlaysMusic();
        } // end my other lesson 12 examples 2
Example #2
0
        static void MyOtherLesson12Examples2()
        {
            Radio myRadio = new CarStereo();

            myRadio.PlaysMusic();

            CarStereo myCarStereo = new CarStereo();

            myCarStereo.PlaysMusic();
        }