C sharp program that displays a pets name


Design, implement, test, and debug a C# program that displays a pet's name when a button is clicked.

Must be created in Visual studio 2010

· Create a graphical user interface (GUI) with a button labeled "Pet's name."

· Declare a class named Pet using a class module not in the form

· Provide two properties(name and age) to the class using the .Net accessor syntax ( get and set)

· Instantiate the class via a constructor to create object

· When the Pet's name button is clicked, the program will display the name of the pet retrieved from the Pet object in a label on the form.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: C sharp program that displays a pets name
Reference No:- TGS0538483

Expected delivery within 24 Hours