Why won't this work? If selected item from list box is string then set different string as number
<p>Okay i'll probably get a lot of crap for this but I'm new. Why won't this work?</p>

<pre><code>        string serviceCode;
        string Next_Day_Air_Early_AM;
        string inserviceCode = listBox1.SelectedItem.ToString();
        if (inserviceCode = Next_Day_Air_Early_AM)
           { 
            serviceCode = 14.ToString(); 
           }
</code></pre>
