Using a .txt file like a small database

Txt file sample : /// Eren 1 Ahmet 5 Sulocuk 2 ///

When i enter "Eren" on the textfile system sends me "1".

i want to make that with a txt file. can is possible or i need to get sql?

No time to write your code, but look into String.Split method and FileWriter class