static void Main(string[] args)
{
var d = new[]
{
new[,]
{
{4, 5}, {7, 9}, {2, 3}
},
new[,]
{
{8, 4}, {6, 7}
}
}
for( i = 0; i < d.Lenght; i++)
{
for(j = 0; j < d[i].Lenght; j++)
{
console.write(j) // I can get the index position of the items in the array.
console.write(d[i][i, j]) // I get IndexOutOfRangeException error
}
}
}