Question: 10. If Option Strict is set to On, which of the following statements assigns the sum of two Integer variables to the Text property of
10. If Option Strict is set to On, which of the following statements assigns the sum of two Integer variables to the Text property of the lblTotal control?
a. lblTotal.Text = Convert.ToInteger(intN1 + intN2)
b. lblTotal.Text = Convert.ToInt32(intN1 + intN2)
c. lblTotal.Text = Convert.ToString(intN1) + Convert.
ToString(intN2)
d. none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
