Using Visual Studios C Make Sure Make Two Instances Pet Class Pet Able Walk Talk Also Able Q37115831

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


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.