Custom App.Config Section for Read Write

S

slg

Gurus- I am looking for a code snippet c# 2.0 framework or a sample app
which can help me add/modify values in app.config
custom section.

I have seen so many samples and code snippets but ended up code being
readonly settings.

I want to have a section similar to appsettings with key and value pair as
follows in which i can add /delete/update
values and keys

<customSettings>
<add key="author" value="SmithJ"/>
<add key="article" value="Sections"/>
</customSettings>

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top