Checking value from Combobox(string) without ToString C#
<p>I'm doing a project where "ToString" is being used as a method.</p>

<pre><code>private void button1_Click(object sender, EventArgs e)
{
    if(cboPlaneType.SelectedItem = "Generic")
    {
    }
    else if (cboPlaneType.SelectedIndex = "Passenger")
    {
    }
    else if (cboPlaneType.SelectedIndex = "Fighter Jet")
    {
    }
}
</code></pre>

<p>And in this case i'm not sure what to do. As you can see I've tried a few different option but with no avail. I've also tried 
<code>if((string)cboPlaneType.SelectedItem = "Generic")</code>
And that didn't work.</p>

<p>**Edit
Just to point out, SelectedValue wasn't the correct answer.
ended up being "<code>if((string)combobox.SelectedItem == "Generic")</code></p>
