title: Retrieve App.config "setting" value?
body: <p>I have an App.config file that contains this (generated by Visual Studio, no manual edits):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;configSections&gt;
          &lt;sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" &gt;
              &lt;section name="FaxMonitorCSharp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /&gt;
          &lt;/sectionGroup&gt;
      &lt;/configSections&gt;
      &lt;startup&gt; 
          &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /&gt;
      &lt;/startup&gt;
      &lt;userSettings&gt;
          &lt;FaxMonitorCSharp.Properties.Settings&gt;
              &lt;setting name="BaseFolder" serializeAs="String"&gt;
                  &lt;value&gt;C:\IncFaxesTest&lt;/value&gt;
              &lt;/setting&gt;
          &lt;/FaxMonitorCSharp.Properties.Settings&gt;
      &lt;/userSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>How do I retrieve the value of <code>BaseFolder</code> in C#? I have tried:</p>
  
  <pre><code>string g_fax_loc = System.Configuration.ConfigurationSettings.AppSettings["BaseFolder"];
  </code></pre>
  
  <p>But I'm getting an obsolete method warning and instead asking me to use a very long method name with a <code>!</code> in it.</p>
  
  <p>Am I missing something?</p>