static void Main1(string[] args) { dog mydog = new dog(); animal thePet = mydog; thePet.sound();//.eat(); mydog.sound(); }