c# - Get the value of array in multidimensional-array in array -


How can I get the value of an array in a multidimensional array ... in another array?

I want to get the value of the test in ascending order in the following code.

I have a for and foreach loop, but when it comes to referencing an element of a multi-dimensional array then there are problems. [,] [] test string , New string [] {"test4", "test6", "test6"}}, {new string} ["test7", "test7", "test9"}, new string [] {"test10", "test11 "," Test12 "}}}, new string [] {{new string} [" test13 "," test14 "," test15 "}, new string [] {" test16 "," test17 "," test18 "} }, {New string} ["test19", "test20", "test21"}, new string [] {"test22", "test23", "test24"}}}}; (Int a = 0; a & lt; test.Count (); a ++) {foreach (var test [a]) {for (int ama = 0; ama & lt; am; count (); ama + +} {Console .WriteLine ("{0}", test [a] [0,0] [AMA] .toString ()); // what should I be kept in [0,0]?}}} Console. Readkey ();}

Why not:

  console.writeline ("{0}", am [ama] .tostring ());  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -