Why is the following Select Case block invalid in Visual Basic?
```
Select Case myName.Substring(0, 1)
Case myName < "D"
txtBox.Text = "Your name starts with A, B, or C"
End Select
```
(A) There should not be a standard conditional expression in a value list.
(B) There are not enough Case statements.
(C) There is no selector.
(D) myName.Substring(0, 1) is not valid where it is.
(A) There should not be a standard conditional expression in a value list.
You might also like to view...
The Equals string method is used to see if:
a) two strings are exactly the same. b) two strings start with the same letter. c) the ASCII sum of the characters in both strings are the same. d) the two strings have the same letter in the same position anywhere in the strings.
A hard disk drive provides ________ storage so data is retained after the power is turned off
Fill in the blank(s) with correct word
To edit the contents of a cell, you right-click the cell to enter edit mode
Indicate whether the statement is true or false
________ consists of a center copper wire surrounded by insulation, which is then surrounded by a layer of braided wire.
a. Coaxial cable b. Fiber-optic cable c. Twisted pair d. Cat-5