Question: If Option Strict is set to On, which of the following statements will assign the contents of the txtSales control to a Double variable named
If Option Strict is set to On, which of the following statements will assign the contents of the txtSales control to a Double variable named dblSales?
a. dblSales = txtSales.Text
b. dblSales = txtSales.Text.Convert.ToDouble
c. Double.TryParse(txtSales.Text, dblSales)
d. TryParse.Double(txtSales.Text, dblSales)
Step by Step Solution
3.39 Rating (165 Votes )
There are 3 Steps involved in it
c Doubl... View full answer
Get step-by-step solutions from verified subject matter experts
