title: How to create a custom section that behaves like an AppSettings section?
body: <p>I want to have the following structure in my config:  </p>
  
  <pre><code>&lt;MySection&gt;  
    &lt;add key="1" value="one" /&gt;  
    &lt;add key="2" value="two" /&gt;
    &lt;add key="3" value="three" /&gt;
  &lt;/MySection&gt;
  </code></pre>
  
  <p>I have a limitation such that MySection can't use the AppSettingsSection as it has to inherit from a different parent custom section. And I need to resolve this section to a NameValueCollection such that when I call something like:  </p>
  
  <pre><code>ConfigurationManager.GetConfig("MySection")
  </code></pre>
  
  <p>it should return a NameValueCollection. How to go about doing this? I found some information on NameValueConfigurationCollection but that's not what I'm looking for.</p>