Question: The Purchase class contains a ReadOnly property named Tax. The property is associated with the Private dblTax variable. A buttons Click event procedure instantiates a

The Purchase class contains a ReadOnly property named Tax. The property is associated with the Private dblTax variable. A button’s Click event procedure instantiates a Purchase object and assigns it to the currentSale variable. Which of the following is valid in the Click event procedure?
a. lblTax.Text = currentSale.Tax.ToString("C2")
b. currentSale.Tax = 15
c. currentSale.Tax = dblPrice * 0.05
d. None of the above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a lblTa... 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!