Query multidimensional array

        var array2D = new int[,]  
            {  
                {1, 2, 3},   
                {4, 5, 6},   
                {7, 8, 9}  
            };
 
        var array1D =
            from int val in array2D 
             select val.ToArray();