title: namespaces in application settings
body: <p>I am migrating an old application to a newer .NET-version. The current application stores arrays with user settings into the registry. </p>
  
  <p>In the new application I want to change this mechanism into .NET Application settings (app.config), but I have only figured out so far how to store one-dimensional values in there, for example...</p>
  
  <pre><code>My.Settings.myName1 = "John Doe"
  My.Settings.myMail1 = "john.doe@somemaildomain.com"
  My.Settings.myName2 = "Lorem Ipsum"
  My.Settings.myMail2 = "lorem.ipsum@somemaildomain.com"
  </code></pre>
  
  <p>I guess it is possible somehow to work not only with single values, but with arrays, too, which ideally could be accessed by a namespace, something like this:</p>
  
  <pre><code>REM just demo code to display what i want, no idea if something like this works...
  My.Settings.myContacts(1).Name = "John Doe"
  My.Settings.myContacts(1).Mail = "john.doe@somemaildomain.com"
  My.Settings.myContacts(2).Name = "Lorem Ipsum"
  My.Settings.myContacts(2).Mail = "lorem.ipsum@somemaildomain.com"
  </code></pre>
  
  <p>Is something similar possible? If not, is there another way how to work with multidimensional values / arrays in the .NET Application settings?</p>