title: How do I set the selected item in a comboBox to match my string using C#?
body: <p>I have a string "test1" and my comboBox contains <code>test1</code>, <code>test2</code>, and <code>test3</code>. How do I set the selected item to "test1"? That is, how do I match my string to one of the comboBox items?</p>
  
  <p>I was thinking of the line below, but this doesn't work.</p>
  
  <pre><code>comboBox1.SelectedText = "test1"; 
  </code></pre>