Query multidimensional array
- Selects from multidimensional array and throw result as 1D array.
var array2D = new int[,] { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} }; var array1D = from int val in array2D select val.ToArray();
var array2D = new int[,] { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} }; var array1D = from int val in array2D select val.ToArray();