using System;
namespace Chapter01All
{
class IntNijigenAry
{
static void Main()
{
int r = 5; int c = 10;
int[,] ary = new int[5, 10];
for(int i = 0; i < r; i++)
{
for(int j = 0; j < c; j++)
{
ary[i, j] = i * 10 + j;
}
}
for (int i = 0; i < r; i++)
{
for (int j = 0; j < c; j++)
{
Console.Write(ary[i, j] + " ");
}
Console.WriteLine();
}
}
}
}
中々思ったようには行かないもののようです。パソコン全てそう、と言ってしまえばそれまでですが。((+_+))
「C#コードを張り付ける、その2」への1件の返信
シンタックスハイライターなるものを使ってみてますが、VB2019の通りハイライトするプラグインは無いんですかね?