I pass data from one third-party lib to another one.
Given an object[,] with lower bounds {0,0}, I need to make object[,] with lower bounds {1,1}.
Is there a way to perform this convertion without creating new array and copying all the data?
Is there a way to perform this convertion without creating new array and copying all the data?
No. You can't change the size or bounds of an array once it has been created.
This method allocates a new array with the specified size, copies elements from the old array to the new one, and then replaces the old array with the new one. array must be a one-dimensional array.