title: How to get all sections by name in the sectionGroup applicationSettings in .Net 2.0
body: <p>Here's the idea I had: </p>
  
  <p>I want a small executable to have an app.config file with multiple sections that are situated under the sectionGroup "applicationSettings" (not "appSettings", I don't need to write to the file). Each section would have a name corresponding to a module that should be loaded if set. </p>
  
  <p>Here's an example:</p>
  
  <pre><code>   &lt;configuration&gt;
       &lt;configSections&gt;
         &lt;sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" &gt;
           &lt;section name="Executable" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
           &lt;section name="FirstModule" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
         &lt;/sectionGroup&gt;
       &lt;/configSections&gt;
       &lt;applicationSettings&gt;
         &lt;Executable&gt;
           &lt;setting name="MyFirstSetting" serializeAs="String"&gt;
             &lt;value&gt;My awesome feature setting&lt;/value&gt;
           &lt;/setting&gt;
         &lt;/Executable&gt;
         &lt;FirstModule path="path to the modules assembly"&gt;
           &lt;setting name="ImportantSettingToTheModule" serializeAs="String"&gt;
             &lt;value&gt;Some important string&lt;/value&gt;
           &lt;/setting&gt;
         &lt;/FirstModule&gt;
       &lt;/applicationSettings&gt;
     &lt;/configuration&gt;
  </code></pre>
  
  <p>Now if I define the FirstModule section, I want my application to load its assembly. If the section is not defined, the module should not be loaded. This should be true for not only one module but a not yet defined number of them.</p>
  
  <p>So I basically need to find out about the defined sections at runtime. How would I do that?</p>
  
  <p>In addition I want this to become a portable executable (= it has to run on Mono as well) that is backwards compatible to .NET 2.0. </p>
  
  <p>It might be interesting to have a look at the project on GitHub (currently at <a href="https://github.com/textquell/rhenus-spring/commit/937151e91be551808c7fdc9dcd91750f24a0b0a2" rel="noreferrer">this commit</a>).</p>