Using Visual Studios C#
Make sure to make two instances of a pet class. The pet shouldbe able to walk and talk. You should also be able to set it’s AgeName, and Type (cat, dog). Make sure to set and show values foreach of the three properties (variables): Name, Type, Age. Makesure to execute the walk and talk (just display messages “I amwalking”, “I am talking.”).
Solution