title: Selecting default item from Combobox C#
body: <p>I have few items on my <code>ComboBox</code> items collection, and i'd like to select one item from this list and set it as default item - when app starts - this item is already on <code>comboBox</code>.</p>
  
  <p>I'm trying something like that:</p>
  
  <pre><code>SelectPrint11.SelectedIndex=2;
  </code></pre>
  
  <p>but error is:</p>
  
  <pre><code>System.ArgumentOutOfRangeException: InvalidArgument=Value of '2' is not valid for 'SelectedIndex'
  </code></pre>
  
  <p>Edit: </p>
  
  <p>In <code>mylist</code> are 3 items, <code>Printer1</code>, <code>Printer2</code>, <code>Printer3</code>. All are added in <code>ComboBox Properties -&gt; Items -&gt; Collection</code></p>