Question: help needed for C# Projcet. Working with Files Object Serialization/Deserialization For this project take Customer Class from Project 06 and create a Windows Console app

help needed for C# Projcet.

Working with Files Object Serialization/Deserialization

For this project take Customer Class from Project 06 and create a Windows Console app that will have the following choices:

1) Add customers

2) View all customer files in directory

3) Open a customer file to see the customers

4) Delete all customer files

5) Exit

When the user chooses 1 you will allow them to add as many customers until they choose not to add another customer. So after each customer is added you will ask them if theyd like to add another (y/n). If they choose y then let them add another. If they choose n then serialize the objects into a new file, save the file, and exit back to the main menu. If they choose anything else then tell them that they have made an invalid choice.

For option 2 you will show them all of the files in the directory.

For option 3 you will show them the files in the directory and ask them which they would like to choose (by number 1,2,3.). When they choose that number open the corresponding file deserializing the customer objects in the file and showing the output in a neatly formatted way. Ask them to press any key and return them to the main menu.

For 4 you will delete all of the customer files in the directory.

5 will exit the program.

Each file can contain at least 1 customer to as many as the user would like to enter. You can use one of the following formats for storing the serialized customer objects: XML, JSON, or Binary. (Please write a comment Line and provide the information which format you are using)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!