title: Custom app.config section with a simple list of "add" elements
body: <p>How do I create a custom app.config section that is just a simple list of <code>add</code> elements?</p>
  
  <p>I have found a few examples (e.g. <a href="https://stackoverflow.com/questions/1316058">How to create custom config section in app.config?</a>) for custom sections that look like this:</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;RegisterCompanies&gt;
    &lt;Companies&gt;
      &lt;Company name="Tata Motors" code="Tata"/&gt;
      &lt;Company name="Honda Motors" code="Honda"/&gt;
    &lt;/Companies&gt;
  &lt;/RegisterCompanies&gt;
  </code></pre>
  
  <p>But how do I avoid the extra collection element ("Companies") so that it looks the same as the <code>appSettings</code> and <code>connectionStrings</code> sections? In other words, I'd like:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;registerCompanies&gt;
    &lt;add name="Tata Motors" code="Tata"/&gt;
    &lt;add name="Honda Motors" code="Honda"/&gt;
  &lt;/registerCompanies&gt;
  </code></pre>