0
Matrix of jagged array C#
How can I initialize a jagged matrix of arrays? int[,][] jagged=new int[2,2][]; I tried: int[,][] jagged={{{7,8,6,5},{6,7,5}},{{6,6,9},{7,2,3,6,5}}};
1 Respuesta
0
I think I got this
int[,][] jagged=new int[,][]
{
{
new int[]{2,3,5,8},
new int[]{2,3,6,9,8}
},
{
new int[]{2,8},
new int[]{2,3,6,9,8,6}
}
};