list.Add(hairetu)
'MsgBox( list(0)(1, 1) ) Dim x(,) As String = DirectCast(list(0), String(,)) MsgBox( x(1, 1) )
Dim a As New ArrayList() Dim x As ArrayList x = New ArrayList() x.Add("0-0") x.Add("0-1") a.Add(x) x = New ArrayList() x.Add("1-0") x.Add("1-1") a.Add(x) 'MsgBox(a(1)(0)) MsgBox(CStr(DirectCast(a(1), ArrayList)(0)))
Dim a As New ArrayList() a.Add(New String(){ "0-0", "0-1" }) a.Add(New String(){ "1-0", "1-1" }) 'MsgBox( a(1)(0) ) MsgBox(CStr(DirectCast(a(0), String())(1)))
Dim a As New List(Of String()) a.Add(New String() {"0-0", "0-1"}) a.Add(New String() {"1-0", "1-1"}) MsgBox(a(0)(1))
Dim a As New List(Of List(Of String)) a.Add(New List(Of String)() From {"0-0", "0-1"}) a.Add(New List(Of String)() From {"1-0", "1-1"}) a(0).Add("0-2") a(0).Add("0-3") MsgBox(a(0)(2))