title: Populate an ItemSetCollection with String Array in C#
body: <p>I am new to C#. I know how to individually add an item to the itemsetcollection. My code is:</p>
  
  <pre><code>ItemsetCollection db;
  string item1 = "word1";
  string item2 = "word2";
  
  db = new ItemsetCollection();
  db.Add(new Itemset() {item1,item2});
  </code></pre>
  
  <p>The problem is I have an array of type string populated with a listbox:</p>
  
  <pre><code>for (int i = 0; i &lt; list.Items.Count; i++)
  {
      array[i] = list.Items[i].ToString();
  }
  </code></pre>
  
  <p>I want to add my array items to the itemsetcollection:</p>
  
  <pre><code>db = new ItemsetCollection();
  db.Add(new Itemset() array); //here i need to add my array
  </code></pre>
  
  <p>How can I do this?</p>