static void Main(string[] args) { IAnimalSounds adapter = new CatSoundAdapter(); var catLevel = adapter.GetAnimalSoundCatLevel(); Console.WriteLine("Dog's sound cat level is: {0}", catLevel); Console.ReadLine(); }
static void Main(string[] args) { IAnimalSounds adapter = new CatSoundAdapter(); var catLevel = adapter.GetAnimalSoundCatLevel(); Console.WriteLine("Dog's sound cat level is: {0}", catLevel); Console.ReadLine(); }