• 2022-06-06
    要将字符串数组a中所有学生姓名按数组下标顺序追加到列表框List1中,可以使用的程序段为( )。
    A: List1.AddItem a
    B: For i = 0 To UBound(a) - 1 List1.AddItem a(i), 0 Next i
    C: For i = 0 To UBound(a) – 1List1.List(i)=a(i)Next i
    D: For i = 0 To UBound(a) - 1 List1.AddItem a(i) Next i
  • 举一反三