怎样把double[][]l类型的数组转换为double[,]型?
在C#中,double[][]l类型的数组转换为double[,]型?
int[][] jaggedArray3 = { new int[] {1,3,5,7,9}, new int[] {0,2,4,6}, new int[] {11,22} };这样你就明白了吧?
int[,] array2D = new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };