const int N = 50;
long[] a = new long
;
var r = new Random();
for (int i = 0; i < N; i++)
{
a[i] = r.Next(1, 10);
Console.WriteLine(\”a[{0}]是{1}\”, i, a[i]);
}