title: Custom data type in Settings.settings as array of class
body: <p>I searched the web and found how to add specific custom data type in settings. <strong>I'm inserting data by my self, not by code while program running.</strong> My problem was how to add custom data type to combobox in designer. Now I figured it out and need advice, how to add data type array of this type. I'll show on simple example.</p>
  
  <p>I have this class</p>
  
  <pre><code>[Serializable()]
  public class Product
  {
  public string Name { get; set; }
  public int Price { get; set; }
  }
  </code></pre>
  
  <p>in settings.setting i have setting <em>ProductSettings</em>, type <em>MyApp.Data.Product</em>, scope <em>Application</em> and default value contains following</p>
  
  <pre><code>&lt;xml definition&gt;
  &lt;Product xlmns:xsi=.....&gt;
  &lt;Name&gt;Banana&lt;/Name&gt;
  &lt;Price&gt;1&lt;/Price&gt;
  &lt;/Product&gt;
  </code></pre>
  
  <p>By this way it works just fine. But now, I need get a collection of Products from settings file, so I tryed to specify type as MyApp.Data.Product[] but it can't be. Designer pop-up window and says "<strong>MyApp.Data.Product[] is not defined.</strong>". How can I figure it out?</p>
  
  <p>Thanks</p>
  
  <p>PF: this project is just class library used from WPF application - if matters</p>