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

``` Dim tonightShow() As String = {"Allen", "Parr", "Carson", "Leno",
"O'Brien", "Leno"}
Dim query = From host in tonightShow
Where host.Length = 4
Select host
Distinct
For Each host in query
lstBox.Items.Add(host)
Next

```
(A) Parr, Leno, Leno
(B) Parr, Leno
(C) Leno
(D) No names


(B) Parr, Leno

Computer Science & Information Technology

You might also like to view...

The Bring Forward command moves a selected object to the top of a stack of objects.

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

Computer Science & Information Technology

A(n) ________ is a collection of related variables under one name.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which command is used to upgrade a file system to NTFS?

A) FAT12 B) NTFSNOW C) Upgrade D) Convert

Computer Science & Information Technology

Like an IP address, the components of a domain name are separated by commas.

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

Computer Science & Information Technology