title: How do I retrieve AppSettings from the assembly config file?
body: <p>I would like to retrieve the AppSetting key from the assembly config file called: MyAssembly.dll.config.  Here's a sample of the config file:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;appSettings&gt;
          &lt;add key="MyKey" value="MyVal"/&gt;
      &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Here's the code to retrieve it:</p>
  
  <pre><code>var myKey = ConfigurationManager.AppSettings["MyKey"];
  </code></pre>