int[ , ] intMyArr = {{7, 1, 3}, {2, 9, 6}};
int[][][] intMyArr = new int[2][][];
int[][]a = new int[2][]; a[0] = new int[4]{6, 1 ,4, 3}; a[1] = new int[3]{9, 2, 7}; foreach (int[ ] i in a) { /* Add loop here */ Console.Write(j + " "); Console.WriteLine(); }
int[ , ] a; a = new int[2, 3]{{7, 1, 3},{2, 9, 6}};
int[ , ] a; a = new int[2, 3]{};
int[ , ] a = {{7, 1, 3}, {2, 9,6 }};
int[ , ] a; a = new int[1, 2];
int[ , ] a; a = new int[1, 2]{{7, 1, 3}, {2, 9, 6}};
int[] a = {25, 30, 40, 5};
int[] a; a = new int[3]; a[0] = 25; a[1] = 30; a[2] = 40; a[3] = 5;
int[] a; a = new int{25, 30, 40, 5};
int[] a; a = new int[4]{25, 30, 40, 5};
int[] a; a = new int[4]; a[0] = 25; a[1] = 30; a[2] = 40; a[3] = 5;
int[ , , ] a = new int[ 3, 2, 3 ]; Console.WriteLine(a.Length);
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.