title: Reading from a app.config file
body: <p>I am trying to print to <code>Console.Write</code> the value of the key <code>name</code> from the following <code>app.config</code> file.   </p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8" ?&gt;
      &lt;configuration&gt;
        &lt;appSettings&gt;
          &lt;add key="name" value="Chan" /&gt;
        &lt;/appSettings&gt;
      &lt;/configuration&gt;
  </code></pre>
  
  <p>C# code :</p>
  
  <pre><code>Console.Write(ConfigurationManager.AppSettings["name"]);
  </code></pre>
  
  <p>Nothing gets printed in the console. Why is this ?</p>
  
  <p>Note: I have added a reference to the <code>System.Configuration</code> dll</p>