[Mono-list] Multi dimensional array
Yuan-Fen Eric Kuo || ³¢·½¨W
yuanfenkuo@students.wisc.edu
Fri, 28 Jun 2002 16:20:18 -0500
I have just started C#.
So please forgive me for this basic question.
Why do I keep getting
requested token for MonoArrayMethod
When I try to declare and use a multi dimensional array?
using System;
class TwoD {
public static void Main(){
int t, i;
int[,] table = new int[3,4];
for(t=0; t < 3; ++t){
for(i=0; i <4; ++i){
table[t,i] = (t*4)+i+1;
Console.Write(table[t,i]+" ");
}
Console.WriteLine();
}
}
}
Thanks a lot,
Eric