title: Freeform XML configuration section body in app.config
body: <p>Is there a way to make a configuration section that would allow a freeform XML body? How would I get that freeform body in code?</p>
  
  <p>For example I'd like to create a ModuleConfigurationSection like this:</p>
  
  <pre><code>&lt;modules&gt;
      &lt;module name="ModuleA" type="My.Namespace.ModuleA, My.Assembly"&gt;
          &lt;moduleConfig&gt;
              &lt;serviceAddress&gt;http://myserver/myservice.svc&lt;/serviceAddress&gt;
          &lt;/moduleConfig&gt;
      &lt;/module&gt;
      &lt;module name="ModuleB" type="My.Namespace.ModuleB, My.OtherAssembly"&gt;
          &lt;moduleConfig&gt;
              &lt;filePath&gt;c:\directory&lt;/filePath&gt;
          &lt;/moduleConfig&gt;
      &lt;/module&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p>So some code would spin up each of these module types from config sections using <code>ConfigurationManager.GetSection("modules")</code> and I'd like to pass the XML inside the  <code>moduleConfig</code> element as an opaque configuration value to the constructor of the module class.</p>
  
  <p>Any input appreciated!</p>