Hello,

Does anyone have a code example on how to read/write to the app.config file within an application? Here is a sample from my file:
<configuration>
<appSettings>
<add key="Authentication" value="Windows"/>

How would I read that value? It's NOT the same way you would do it in 2003. I tried but when I tried using

configuration.configurationsettings.getconfig("Authentication"), I get the message that "This method is obsolete, use system.configuration.configurationmanager.getsection instead."

But that method does not work either. Any ideas?