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 ContainsE(state)
Select state
For Each state in query
lstBox.Items.Add(state)
Next
Function ContainsE(word As String) As Boolean
If word.IndexOf("E") <> -1 Or word.IndexOf("e") <> -1 Then
Return True
Else
Return False
End If
End Function

```
(A) Colorado
(B) New Mexico
(C) Colorado, New Mexico, Arizona, Utah
(D) No states


(B) New Mexico

Computer Science & Information Technology

You might also like to view...

How can assigning an identifying keyword in a document's properties possibly assist in locating the file later?

What will be an ideal response?

Computer Science & Information Technology

Las pestañas de la Cinta organizan los comandos en tareas relacionadas. Los comandos de cada pestaña se organizan en ____.

A. categorías B. conjuntos C. menús D. grupos

Computer Science & Information Technology

A PC connects to a LAN and uses DHCP to lease an IP address for the first time. Of the usual four DHCP messages that flow between the PC and the DHCP server, which ones do the client send?

a. Acknowledgment b. Discover c. Offer d. Request

Computer Science & Information Technology

You can combine table cells by ____ them.

A. copying B. splitting C. merging D. linking

Computer Science & Information Technology