31.08.2010, 19:08
new Objects[][3] = {
{1},............../\
{2},..............|
{3}
};
You have a 3 here, that means you also have to give 3 values in each {}.
Just remove it, you do not need a 2D array for this.
new Objects[] = {
1,
2,
3
};
{1},............../\
{2},..............|
{3}
};
You have a 3 here, that means you also have to give 3 values in each {}.
Just remove it, you do not need a 2D array for this.
new Objects[] = {
1,
2,
3
};