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