C# program

C# program

Begin a new project named Customer Information and design a class named Person with the following properties:

  • LastName (string)
  • FirstName (string)
  • Address (string)
  • City (string)
  • State (string)
  • Zip (string)
  • Phone (string)

Implement the properties as public property procedures.Create a form that allows you to assign values to each property of a Person object.

Design a new class named Customer, which is derived from the Person class.The Customer class should have the following properties:

  • CustomerNumber (integer)
  • MailingList (Boolean)
  • Comments (string)

The CustomerNumber property will be used to hold a unique number for each customer.The Mailing List property will be set to True if the customer wishes to be on a mailing list, or False if the customer does not wish to be on a mailing list.The Comments property holds miscellaneous comments about the customer.

Modify the form so that it allows you to store data in each property of a Customer object.Add a button to process a class object.This code should accept the data from the textboxes and store them in the properties of the class.It should then display the data from the class to multiple message boxes.Be sure to include an Exit button.

Add the following comments to the beginning of the program.

Name:Your Name

Class and Section:CS 313 02

Assignment:Program Assignment 05

Due Date:See above

Date Turned in:

Program Description:You write a short description of what the program will do

Extra Credit 5 points:

Add a second form to the project.Instead of outputting the data to message boxes, display the output to a list box on this second form.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper