I’ve never tried to initialize a multidimensional array in place, but if it works like that I’m pretty sure you have to specify the same amount of data for each diminsion. In some(2) you have 5 elements in the some(3) you have 6 elements.
edit
After some searching it seems that it should be the problem.
Just make sure that each dimension has a clear element count.
Example:
int[,] gridInfo = new int [,] {
{0,1,0,1,0,0},
{1,0,1,0,1,0},
{3,1,0,1,0,0},
{1,0,1,0,1,0},
{0,1,0,1,0,1}
};