title: ComboBox items using loop
body: <p>currently i have combobox in my win forms application and, just for test i made a loop so it adds 10 items, but all 10 items in combobox are same!</p>
  
  <p>here is my loop in main class: `     </p>
  
  <pre><code>       void AddValue(){
               ComboboxItem item = new ComboboxItem();
  
          for (int i = 0; i &lt; 10; i++)
          {
              item.Text = "Item " + i;
              item.Value = i;
              ModDown.Items.Add(item);
          }
         }
  </code></pre>
  
  <p>and ComboboxItem class: `    </p>
  
  <pre><code>    class ComboboxItem
        {
  
      public string Text { get; set; }
      public int Value { get; set; }
  
      public override string ToString()
      {
          return Text;
      }
  }
  </code></pre>
  
  <p>thanks for any help!</p>
  
  <ul>
  <li>Nick.</li>
  </ul>