I have following jagged array of "dists"
int[][] dists = new int[][]
{
new int[]{0,2,3,5,2},
new int[]{2,0,1,3,5},
new int[]{3,1,0,4,4},
new int[]{5,3,4,0,2},
new int[]{2,5,4,2,0}
};
now I want to create another jagged array named as finalDists when I remove the 3rd row and 3rd column from original array of dists. I mean I want finally have following jagged array:
int[][] finalDists = new int[][]
{
new int[]{0,2,5,2},
new int[]{2,0,3,5},
new int[]{5,3,0,2},
new int[]{2,5,2,0}
};
I am confused how to handle this issue, before all thanks for your help