how to understand initialization of 3d arrays?

Been googling but canĀ“t understand how this array is a 1,8,3 array? How can you see that X is 1, Y is 8, and Z is 3 from this array?

        double[,,] points =
        {
            { {-1, 0, 3}, {-1, -1, -1}, {4, 1, 1 },
            {2, 0.5, 9}, {3.5, 2, -1}, {3, 1.5, 3},
            {-1.5, 4, 2}, { 5.5, 4, -0.5}}
        };
Jon Skeet
people
quotationmark

You just reformat it, basically:

double[,,] points =
{
    { // One top-level element
         {-1, 0, 3}, // 8 "middle-level" elements, each of which has 3 elements
         {-1, -1, -1},
         {4, 1, 1 },
         {2, 0.5, 9},
         {3.5, 2, -1},
         {3, 1.5, 3},
         {-1.5, 4, 2},
         { 5.5, 4, -0.5}
    }
};

people

See more on this question at Stackoverflow