Question: 8. If Option Strict is set to On, which of the following statements will assign the contents of the txtSales control to a Double variable
8. 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
