title: How shall I find app setting from XML file in c#
body: <p>I have an XML as below:</p>
  <pre><code>    &lt;configuration&gt;
       &lt;AppSettings&gt;
         &lt;add key=&quot;FilePath&quot; value=&quot;c:\test&quot; /&gt;
         &lt;add key=&quot;domain&quot; value=&quot;google&quot; /&gt;
       &lt;/AppSettings&gt;
     &lt;/configuration&gt;
  </code></pre>
  <p>I want a quick c:\ code to read App Settings from .XML file. We don't want to use ConfigurationManager and App.config route as these keys are being shared via multiple projects/applications so requirement is to keep it on shared location.</p>
  <p>e.g. a static class method as below:
  settings.GetAppKey(&quot;FilePath&quot;) shall return value e.g. c:\test</p>