KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've got a class salesman in the following format: class salesman { public string name, address, email; public int sales; } I've got another class where the user inputs name, address, email and sales. This input is then added to a list List<salesman> salesmanList = new List<salesman>(); After the user has input as many salesman to the list as they like, they have the option to save the list to a file of their choice (which I can limit to .xml or .txt(which ever is more appropriate)). How would I add this list to the file? Also this file needs to be re-read back into a list if the user wishes to later view the records.
Tags (comma-separated)
Save Edits
Cancel