I have a project and i have to save all my data in text files.
One of those files is users.txt which contains all my users name
and password.
What i want to do is to read all my records from users.txt , and save them
in List of user, this process should be done when project starts.
The list could be increased or decreased depending on the processes of the project (Add User OR Delete User).
After that i want to save my list to the same file when the project is closed
(or when closing the program)
I hop it is clear to understand the idea of the project.
This my github repo which contain the project code.
https://github.com/HeshamRashwanAM/Online-Book-Store-Project
User : is a class i have created and it has string username, string password and list of type user same as class name.