I am trying to save some configurations in app.config for my windows application. I searched in Google for solution but not anything related to this. My requirement is I want to save/update the configurations in app.config using my windows application.
My schema will be like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="customAppSettings1" type="System.Configuration.NameValueSectionHandler"/>
<section name="customAppSettings2" type="System.Configuration.NameValueSectionHandler"/>
</configSections>
<customAppSettings1>
<add key="FirstKey" value="1" />
<add key="SecondKey" value="2" />
</customAppSettings1>
<customAppSettings2>
<add key="FirstKey" value="1" />
<add key="SecondKey" value="2" />
</customAppSettings2>
</configuration>