title: ConfigurationSettings.AppSettings Obsolete
body: <p>I am getting a warning when using this:</p>
  
  <blockquote>
    <p>ConfigurationSettings.AppSettings("ArbitraryName").ToString()</p>
  </blockquote>
  
  <p><strong>The warning:</strong></p>
  
  <p><em>Public Shared ReadOnly Property AppSettings As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.</em></p>
  
  <p>I have tried using ..</p>
  
  <blockquote>
    <p>ConfigurationManager.AppSettings["ArbitraryName"].ToString();  </p>
  </blockquote>
  
  <pre><code>*The issue with this  is that it cannot be casted as a string.* 
  </code></pre>
  
  <p>Note: My System.Configuration is pointing to C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll</p>