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.
See more on this question at Stackoverflow