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

```
Dim numbers As String = "1492,1776,1945"
Dim temp() As String = numbers.Split(',"c)
Dim nums(2) As Integer
For i As Integer = 0 to 2
nums(i) = CInt(temp(i))
Next
lstBox.Items.Add(nums(1))
lstBox.Items.Add(nums.First)
```
(A) 1776 and 1492
(B) 1776 and 1776
(C) 1492 and 1492
(D) 1945

(A) 1776 and 1492

Computer Science & Information Technology

You might also like to view...

The process of using your computer to view webpages is called ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

List and briefly describe the five default sections of a report

What will be an ideal response?

Computer Science & Information Technology