1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Module Module1
Public tab(5)() As Integer
Public struct As LinkedList(Of Integer(,))
Sub test()
Dim a(,) As Integer = {{5, 7}, {8, 8}}
struct.AddFirst(a)
Dim b(,) As Integer = {{3, 1, 2}, {1, 1, 2}}
Dim current As LinkedListNode(Of Integer(,)) = struct.Last
struct.AddAfter(current, b)
Dim c(,) As Integer = {{6, 8, 9, 10, 14}, {4, 4, 5, 5, 7}}
current = struct.Last
struct.AddAfter(current, c)
Dim i As Integer = struct.Count
Console.Out.WriteLine(i.ToString)
End Sub
End Module |
Partager