What numbers 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.EndsWith("o")
Select state.Length
For Each number in query
lstBox.Items.Add(number)
Next
```
(A) 8 and 10
(B) 8, 10, 7, 4
(C) 8
(D) 29


(A) 8 and 10

Computer Science & Information Technology

You might also like to view...

There are 72 points to an inch

Indicate whether the statement is true or false

Computer Science & Information Technology

The Free Transform tool has a(n) Distort modifier that allows you to freely rotate an object by dragging a corner handle or to skew it at a different angle by dragging an edge handle.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Select the email protocols that are not secure? (Choose all that apply.)

A. TLS B. S/MIME C. POP D. IMAP

Computer Science & Information Technology

Discuss the advisory services that external auditors are no longer permitted to render to audit clients under SOX legislation.

What will be an ideal response?

Computer Science & Information Technology