static void Main(string[] args) { IRadio radio = null; Radio pandora = new Radio(); Console.WriteLine("Select the channel you would want to listen (1:Grunge, 2:Rock 3:Heavy Metal, 4:Death Metal"); string input = Console.ReadLine(); switch (input) { case "1": radio = new Grunge(); break; case "2": radio = new Rock(); break; case "3": radio = new HeavyMetal(); break; case "4": radio = new DeathMetal(); break; } pandora.SetChannel(radio); pandora.Play(); Console.Read(); }