Please see my comment to the question.
Perhaps this is a weird way of answering such question; and I cannot sure you can understand that, but you need to start with something. The idea is: the OS you are using is
not like this:
https://en.wikipedia.org/wiki/Persistence_%28computer_science%29#Persistent_operating_systems[
^].
You really need to learn what your OS does in general. Now, sooner or later, you will get to writing and reading persisting data. So, a big warning for you: some people try to persist data in system Registry, which is a really bad thing; there are too many applications already collecting trash in the registry, to such a great extent that the system starts stalling. My past answers explain how to get good place to store your data, in most cases:
which is better : use of registery in order to store setting or use of Settings class[
^],
How to find my programs directory[
^].
Some more ideas:
https://msdn.microsoft.com/en-us/library/ms733127%28v=vs.110%29.aspx[
^],
https://msdn.microsoft.com/en-us/library/bb397750%28v=vs.110%29.aspx[
^].
Sorry if big part of this information seems to be over your head. Not everything comes at once.
—SA