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

1 Expert Approved Answer
Step: 1 Unlock

c Doubl... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!