using System;
class MainClass
{
static void Main()
{
var matrix = new[,]
{ { "(1,1)", "(1,2)" },
{ "(2,1)", "(2,2)" } };
for (int m = 0;
m < matrix.Length / matrix.Rank;
m++)
{
for (int n = 0;
n < matrix.Rank;
n++)
{
Console.Write
(matrix[m, n]);
}
Console.WriteLine();
}
}
}
0 コメント:
コメントを投稿