Assuming comboBoxData is instantiated as a ComboBox, which of the following
statements would retrieve its selection and place it in a string variable?
a. string s = ComboBox.Selection;
b. string s = ComboBox.comboBoxData.Text;
c. string s = comboBoxData.Text;
d. string s.Text = comboBoxData.Text;
e. none of the above
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.