I have a big jagged array like A[,][] with some specified dimension= ( 76*150)*(140).
How to add some elements (say x-elements) with zero values, to the begining and to the end of the bold part of that,like:
array seize before= (76*150)*140 ---> array size after adding equali-valued zero elements to begining and to the end of array= (76*150)*(150)
0 0 0 0 0 x x x x x x x x x 0 0 0 0 0
I tried to create a bigger array and copy the element of my array ,A, to that. But there is a memory problem.how can I use ArrayList and Insert method to do this ?
thanks