Hello,

I am just learning C# through Visual Studio 2008 and I have aquestion.

 

I am trying to subtract the value chosen in a list box (target.ComboBox.SelectedItem) with the value entered in a text box (txt.UnitsSold.Text) so my message box wil display the sum of these two values.

 

Make sense?

I know Ihave to cghange the values of each from strings to ints, but how do I write that code?