public int[,] ToArray() { var array = new int[RowCount, ColumnCount]; MatrixExtensions.ForEach(this, (row, column) => array[row, column] = _matrix[row, column]); return(array); }