title: How to properly store state in a C# .Net application
body: <p>I have a list of objects, where each object has a boolean property named "enabled".  I want to remember the state of these objects accross application sessions.  To do this I have at least 2 options, using the registry or using, the more .net approach, app.config file.  I would prefer to do the latter.</p>
  
  <p>However, while static/compiletime key/value assignment is trivial, assigning new keys dynamically to the app.config file seems nontrivial. Do you have an example of how to do this?</p>
  
  <p>My question is, what is the best approach to store properties of a list of objects in .net if you want to avoid the registry?</p>