using System; class Program { public static void Main() { //Három dimenzós tömb kezdőértéke int[,,] tomb = new int[,,] { {{1, 2, 3}}, {{4, 5, 6}} }; //Négy dimenzió tömb kezdőértéke int[,,,] tomb4 = new int[,,,] { {{{1, 2, 3, 5}}}, {{{4, 5, 6, 7}}} }; //~ tomb[0, 0, 0] = 3; Console.WriteLine(tomb[1,0,0]); Console.WriteLine(tomb4[1,0,0,0]); } }