title: Write a section in app.config file
body: <p>I've looked <a href="https://stackoverflow.com/questions/4758598/write-values-in-app-config-file">here</a> about making changes to the app.config file using ConfigurationManager. This seems to write values under <code>&lt;appSettings&gt;</code> in the file. </p>
  
  <p>I feel my question might be a very similar change, but I can't quite work out how to do it.</p>
  
  <p>I've defined a <code>configSections</code> element in my app.config file, for example <code>&lt;section name="Example".../&gt;</code>, and in the config file it's been given some value:</p>
  
  <p><code>&lt;Example file="C:\temp\".../&gt;</code>.</p>
  
  <p>If I use the command <code>ConfigurationManager.GetSection("Example")</code>, I can get this value.</p>
  
  <p>I wondered, is there a way to change this value at runtime? So I'd like to use <code>ConfigurationManager.GetSection("Example")</code> at a later point, and have the new (changed) value returned - if this is possible? Thank you,</p>