Two dimensional string array : String Array « Data Type « VB.Net Tutorial






public class Test
   public Shared Sub Main

        Dim str_values(,,) As String = _
        { _
            { _
                {"000", "001", "002"}, _
                {"010", "011", "012"} _
            }, _
            { _
                {"100", "101", "102"}, _
                {"110", "111", "112"} _
            } _
        }
        Console.WriteLine("")
        For i As Integer = 0 To 1
            For j As Integer = 0 To 1
                For k As Integer = 0 To 2
                    Console.Write(str_values(i, j, k) & " ")
                Next k
            Next j
            Console.WriteLine("")
        Next i

   End Sub
End class
000 001 002 010 011 012
100 101 102 110 111 112








2.29.String Array
2.29.1.String array
2.29.2.Use For Each Loop to output a String array
2.29.3.Array.Reverse a string array
2.29.4.Array.Sort a string array
2.29.5.Two dimensional string array
2.29.6.Store data in a multivalue array