1. What is displayed in the list box (lstOut) after this code fragment is executed?
Dim a_intQty() As Integer = {9, 6, 4, 3, 5}
For intCnt = 1 To 4 Step 2
lstOut.Items.Add(a_intQty(intcnt))
Next
Printable View
1. What is displayed in the list box (lstOut) after this code fragment is executed?
Dim a_intQty() As Integer = {9, 6, 4, 3, 5}
For intCnt = 1 To 4 Step 2
lstOut.Items.Add(a_intQty(intcnt))
Next
Looks like 6 and 3 to me. Why don't you run it though so you can verify it yourself?
Hello anyone and everyone.......I have a midterm coming up and I am clueless as to what I am doing half the time, failing as it is...so I am asking if anyone would be willing to look at this review and give me some examples for the examples that are given? I am really trying to grasp this but getting some input from actual programmers might be a little more helpful. Thank you in advance!!!
Nicky