Inactive Tutor answered 11/29/20
You don't know how the user input the name on the text box as far as capitalization is concerned , so options A and B are eliminated.
According to my research option D is the correct syntax
AVI K.
asked 11/29/20multiple 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"
Inactive Tutor answered 11/29/20
You don't know how the user input the name on the text box as far as capitalization is concerned , so options A and B are eliminated.
According to my research option D is the correct syntax
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.