int[] a = new int[5];
int[] a = new int[10];
int[] a = int[5];
int[] a = int[10];
int[] a = new int[5];
a.Length = 10 ;
int[] a = new int[5];
a = new int[10];
int[] a = new int[5];
a.GetUpperBound(10);
int[] a = new int[5];
a = new int[10];
int[] intMyArr = {11, 3, 5, 9, 4};
int[][]intMyArr = new int[2][]; intMyArr[0] = new int[4]{6, 1, 4, 3}; intMyArr[1] = new int[3]{9, 2, 7};
int[ , , ] a = new int[ 3, 2, 3 ]; Console.WriteLine(a.Length);
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; 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 = {11, 3, 5, 9, 4};
int[][] a = new int[2][]; a[0] = new int[4]{6, 1, 4, 3}; a[1] = new int[3]{9, 2, 7}; Console.WriteLine(a[1].GetUpperBound(0));
namespace CuriousTabConsoleApplication { class SampleProgram { static void Main(string[ ] args) { int i, j; int[ , ] arr = new int[ 2, 2 ]; for(i = 0; i < 2; ++i) { for(j = 0; j < 2; ++j) { arr[i, j] = i * 17 + i * 17; Console.Write(arr[ i, j ] + " "); } } } } }
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.