I have this statement, that's supposed to set the value of a key in my config:
ConfigurationManager.AppSettings["Volume"] = volumeNumSlider.Value.ToString();
But it does not save the value when I relaunch the application.
This is my app.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="Volume" value="7"/>
<add key="Keyval" value="Z"/>
</appSettings>
</configuration>