title: How to store a list of objects in application settings
body: <p>I have recently became familiar with C# application settings, and it seems cool.<br>
  I was searching for a way to store a list of custom objects, but I couldn't find a way!<br>
  Actually I saw a <a href="https://stackoverflow.com/questions/1766610/how-to-store-int-array-in-application-settings">post to store int[]</a>, but it wasn't helpful for this problem.<br>
  I tried to change the config of that solution in order to make it suitable for my problem. the XML config file of that was:</p>
  
  <pre><code>&lt;Setting Name="SomeTestSetting" Type="System.Int32[]" Scope="User"&gt;
    &lt;Value Profile="(Default)" /&gt;
  &lt;/Setting&gt;
  </code></pre>
  
  <p>I tried to address my object as quoted below in the type attribute but it wasn't helpful since it doesn't recognizing my object... I tried "type = List" and "type="tuple[]"<br>
  both of these options didn't help me!       </p>
  
  <p>I have a class looks like:   </p>
  
  <pre><code>class tuple
      {
          public tuple()
          {
              this.font = new Font ("Microsoft Sans Serif",8);
              this.backgroundcolor_color = Color.White;
              this.foregroundcolor_color = Color.Black;
          }
          public string log { get; set; }
          public Font font { get ; set; }
          public String fontName { get; set; }
          public string foregroundcolor { get; set; }
          public Color foregroundcolor_color { get; set; }
          public string backgroundcolor { get; set; }
          public Color backgroundcolor_color { get; set; }
          public Boolean notification { get; set; }
      }
  </code></pre>
  
  <p>and I want to store a list in application setting.<br>
  So is there any way to achieve this purpose.<br>
  Thanks in advance.<br>
  Cheers,</p>