title: how to get Properties.Settings.Default with a string?
body: <p>I have a Winforms/C# application and I am migrating from xml configuration file to application settings. I would like to know if it is possible to access dynamically application settings (Properties.Settings.Default). </p>
  
  <p>I have 4 configurations possible for my application with the settings associated, which I logically named name1, name2, name3, name4, server1, server2 etc.. 
  Instead of assigning them a value like </p>
  
  <pre><code>Properties.Settings.Default.name1 = textbox.txt;
  </code></pre>
  
  <p>I would like to to something like this regarding the configuration they belong to :</p>
  
  <pre><code>class ApplicationSettings
  {
  
      int no;
  
      ApplicationSettings(int no)
      {
          this.no = no;
      }
  
      private void save()
      {
          Properties.Settings.Default.Properties["name"+no] = "value";
      }
  
  }
  </code></pre>
  
  <p>The technic seems to work only for SettingsProperties, as seen <a href="https://stackoverflow.com/questions/5872994/c-sharp-how-to-loop-through-properties-settings-default-properties-changing-the">here</a>. Do you know if there is a way to do this ?</p>