How to compare multidimensional arrays? Just true/false.
double[,] data1 = new double[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };
double[,] data2 = ne
You can flat a multi-dimension array with .Cast
Console.WriteLine("2D Array");
String[,] array2d = new String[,] { { "A1", "B1" }, { "A2", "B2" } };
foreach(var s in array2d.Cast())
Console.Write(s + ", ");
Console.WriteLine("\r\n3D Array");
String[,] array3d = new String[,] { { "A1", "B1", "C1" }, { "A2", "B2", "C1" } };
foreach (var s in array3d.Cast())
Console.Write(s + ", ");
2D Array
A1, B1, A2, B2,
3D Array
A1, B1, C1, A2, B2, C1,