What states are displayed in the list box by the following program segment?
``` Dim states() As String = {"Colorado, "New Mexico", "Arizona", "Utah"}
Dim query = From state in states
Where state.length < 5
Select state.ToUpper
For Each state in query
lstBox.Items.Add(state)
Next
```
(A) Utah
(B) COLORADO, NEW MEXICO, ARIZONA, UTAH
(C) UTAH
(D) No states
(C) UTAH
Computer Science & Information Technology
You might also like to view...
Which of the following RGBcolor codes will result in White?
a) 0, 0, 0 b) 255, 255, 255 c) 255, 0, 0 d) None of the above.
Computer Science & Information Technology
What are the key properties and features of a router versus a switch?
What will be an ideal response?
Computer Science & Information Technology