Ответ:
--- PascalABC.NET 3.6.2 ---
const row = 4;
const col = 6;
procedure MatrixPrintln(Matrix: Array[,] of T; LineSep: string);
begin
foreach var mRow in Matrix.Rows do begin
string.Join(LineSep, mRow).Println;
end;
end;
begin
var Matrix := new integer[row,col];
for var i := 0 to row-1 do begin
for var k := 0 to col-1 do begin
Matrix[i,k] := k+1;
end;
end;
matrixPrintln(Matrix, ', ');
end.