title: Is there a best practices for storing UI settings in a file?
body: <p>I have not seeing an satisfactory answer for this yet, so thought I'd ask. Are there any best practices for storing UI settings in a file?</p>
  
  <p>The scenario is that we have an in house C# app that I want to store an array of file/folders in along with other random things (flags to use when executing an external command, optional arguments to pass to selectable compare algorithms, etc). Because of the nature of these values, using the built in app.config methods isn't going to work. So is there any best practices when storing semi-complex settings to an setting file?</p>
  
  <p>Currently the most complex I'm storing will be a list with a single entry needing to store a file name, compare algorithm, and argument text. So it's not all simple key/value data.</p>
  
  <p>I'm looking for thoughts on:</p>
  
  <ul>
  <li>layout (ex. if XML, values should be in the attributes vs node.value)</li>
  <li>format (XML, YAML, etc)</li>
  <li>frameworks</li>
  </ul>
  
  <p>This won't be storing sensitive data, so security isn't a concern.</p>
  
  <p>I'm currently looking to just use XmlDocument and separate classes for each different collection. But I feel like there should be some existing framework for this already.</p>
  
  <p>Thank you!</p>