I have configuration values saved in an app.config
. I want to create a WinForms application which shows all the AppSettings values in a form. The user should be able to change the settings values and save them back to the app.config
.
As long as your values are in the appConfig section of the app.config file, you can simply use System.Configuration.ConfigurationManager
.
ConfigurationManager.AppSettings - MSDN
Here's an old blog post explaining EXACTLY how to do what you're looking for: