c# program
CS 313 01
Program Assignment 06
Chapter 11
50 Points
Name ___________________________________
Due: Wednesday, April 29, 2020
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 01
Assignment: Program Assignment 06
Due Date: See above
Date Turned in:
Program Description: You write a short description of what the program will do
When you complete the program, do the following.
1. Create a folder with the following name: Program 06
2. Copy your project to this folder
3. Zip the folder then zip the zipped folder
4. Send the zipped folder to my email – [email protected] – as an attachment.