static void Main(string[] args) { pery operry = new pery(); Console.WriteLine(oDog.Cry()); Cat oCat = new Cat(); Console.WriteLine(oCat.Cry()); Console.ReadKey(); }