2d array converted to 1d array, is that a full-copy or another reference to the old memory?

后端 未结 0 1534
庸人自扰
庸人自扰 2020-12-23 12:51

there,

I use the following code to convert(? or should I call it reference?) a 2d array to a 1d array:

object[] newobj = (object[])obj;
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题