Read From Config:
You'll need to add a reference to the configuration:
- Open "Properties" on your project
- Go to "Settings" Tab
- Add "Name" and "Value"
Get Value with using following code:
string value = Properties.Settings.Default.keyname;
Save to the configuration:
Properties.Settings.Default.keyName = value; Properties.Settings.Default.Save();