c# n 차원 배열 2가지 방법
int[,] array1 = new int[5,5];
int[][] array2 = new int[5][]; //이렇게 하고 안에 길이는 다르게 할 수 있나봄...jagged 배열
array2[0] = new int[10];
array2[1] = new int[11];
array2[2] = new int[12];
'컴퓨터 과학 & 영상처리 관련 > C# / .NET / JAVA' 카테고리의 다른 글
140406 모르는 것들 (0) | 2014.04.06 |
---|---|
c# lambda, Func, Action, Predicate 등 (0) | 2014.04.06 |
생성자 간단하게 생성하는 단축키? 뭐라 그러지 이걸 ctor (0) | 2014.03.29 |
c# List<> foreach, compare (0) | 2014.03.22 |
c# list를 이용한 listviewitem 삭제 (0) | 2014.03.21 |