I'm new to visual basic, i have programmed a few stuff such as simple calculators and stuff like that.
I just have a question: What does programs use to save data like if you had some kind of game that it needs to save the score and start the game with the score.

I have lots of computer games and i have seen config files for some of them and that could be.


Player1: (playername)
score: 10
turns: 3

player2: (Playername)
score: 9
turns 2


but how do i read the text and get them as a variabel?

that's kinda what i need, a way to read a specific line and save it in a variable and also be able to change the values in the text document.