\r\n \r\n Hi,
\n
\ni have a big Problem with this code:
\n
\n
\r\n
Code:
\r\n
class Tile
{ public int x;
public int y;
} private void Form1_Load
(object sender,
System.
EventArgs e
) { int Counter1, Counter2, iC;
iC =
10;
for (Counter1 =
0; Counter1 != iC; Counter1++
) { for (Counter2 =
0; Counter2 != iC; Counter2++
) { Tile
[,
] CTile =
new Tile
[iC,iC
];
CTile
[Counter1, Counter2
].
x =
5;
} } }
\r\n
\ni need a 2 dimensional array, but this code throws out an error. Could someone help me? Or has a better solution? If i define the Array as int it\'s no Problem, but if i do with the Tile class, it won\'t run. Thx. for help!

\r\n