How is the logic behind storing program setting in text file like 'config.cfg'?
Often I see some software and specially games that store setting in a text file. I want to have same thing in my C# WinForms application too (I know it is possible to do with application settings for both user and software side) Since I think it is easier for end user to deal with it. So what I need to know is how these settings files are being read and for example set the fields of a class. Imagine I have a class that has the following fields: private double vOffset = 0; private bool Refresh = false; And here will be my text file (lets say file is named "config.cfg"): ;This is a comment