How to copy a row of values from a 2D array into a 1D array?

前端 未结 6 2148
醉话见心
醉话见心 2020-12-05 08:17

We have the following object

int [,] oGridCells;

which is only used with a fixed first index

int iIndex = 5;
for (int iLoop         


        
6条回答
  •  北海茫月
    2020-12-05 08:40

    You cannot get a reference to each array. You can, however, use a jagged array.

提交回复
热议问题