Summary

Create a record keeping console application. You are encouraged to theme your application.

Details

Starting with a premade C# console application in Visual Studio, create an application for adding, viewing and deleting records. Records must be written to a file when the application closes and be read back in from the file when the application first opens. You will need to make use of an array, list or dictionary, or possibly some combination thereof (your choice). Records can be duplicated (in the case of two people with the same name, for example), but users should be able to specify which record to view or delete. You must check the validity of the user input (i.e. no ints for string fields, no strings for int fields).

List create a struct and sotre properties, list of struct

Hint

System.IO contains an abstract File class object. You can use System.IO.File.WriteAllLines to create a file, write a string collection to said file, and close it. There are other useful methods in the File class as well.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.