int[] a = { 1, 2, 3, 4 };
string[] vars = {"aaa", "bbb", "ccc"};
Console.WriteLine(a[0]); // 1
Console.WriteLine(a[a.Length - 1]); // 4
1차원 배열을 여러개 가질 수 있음
3차원배열은 2차원 배열을 여러개 가지는 것
int[,] abc = { { 1, 2, 3 } , { 4, 5, 6 } };
Console.WriteLine(abc[0, 2]); //3
int[][] hello = new int[3][];
hello[0] = new int[4];
hello[1] = new int[3];
hello[2] = new int[2];
hello[2][1] = 4;
Console.WriteLine(hello[0][0]); // 0
Console.WriteLine(hello[2][1]); // 4