I would like to do a comparison of :
ComboBox.SelectedItem which is of the object type to the string.Empty in combination with "||"
If I run with above command I get an error:
"Operator '||' cannot be applied to operands of type 'object' and 'bool' "
Code
if (comboBox2.SelectedItem || comboBox1.SelectedItem == string.Empty )