asked • 11/29/20

visual basic question

 multiple choice select the correct answer

Which of the following conditions should you use in an If . . . Then . . . Else statement to compare the string contained in the txtName control with the name Bob? (Be sure the condition will handle Bob, BOB, bob, and so on.)

A.  txtName.Text = ToUpper("BOB")

B.  txtName.Text = ToUpper("Bob")

C.  ToUpper(txtName.Text) = "BOB"

D.  txtName.Text.ToUpper = "BOB"

1 Expert Answer


Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.