What numbers are displayed in the list box by the following program segment?

``` Dim numbers() As Integer = {4, 7, 9, 3, 1}
Dim query = From number in numbers
Where number > 6
Select number
lstBox.Items.Add(query.Count)
lstBox.Items.Add(query.Average)
```
(A) 5 and 12
(B) 2 and 12
(C) 2 and 8
(D) 5 and 8


(C) 2 and 8

Computer Science & Information Technology

You might also like to view...

What problems can occur with high fidelity prototypes?

What will be an ideal response?

Computer Science & Information Technology

You have a file that is not empty, and you want to preserve the contents and append to the end of the file. Give the commands necessary to open a file for appending.

What will be an ideal response?

Computer Science & Information Technology

________ applies a new randomly selected design, and includes color palette, fonts, and navigation changes

Fill in the blank(s) with correct word

Computer Science & Information Technology

If the contents of a cell copied using the fill handle is Sunday and Tuesday, what are the next three values of the extended series?

A. Wednesday B. Thursday C. Saturday D. Monday

Computer Science & Information Technology