c# jagged array
![[C#] 다차원 배열, 가변 배열](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FS1DJP%2FbtqBXWhN0XX%2FAAAAAAAAAAAAAAAAAAAAAAXNDDaCF05yYQALh5q1aWRgh1JLs89uk0g1OeptPxSx%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DanVlqFuhVhNB%252F7qPCo2VvvRyXGo%253D)
[C#] 다차원 배열, 가변 배열
1. 다차원 배열 using System; clss Program { static void Main() { int[] arr = new int[3]; int[,] arr1 = new int[3, 2]; int[,] arr2 = new int[3, 2] {{1, 1}, {2, 2}, {3, 3}}; int[,] arr3 = new int[,] {{1, 1}, {2, 2}, {3, 3}}; int[,] arr4 = {{1, 1}, {2,2}, {3,3}}; arr1[0, 0] = 10; arr1[0, 1] = 20; foreach(int n in arr2) Console.WriteLine(n); int[,,] arr5 = new int[2, 2, 2]; int[,,,] arr6 = new int[2, 2, ..