What kind of memory semantics govern array assignment in c#?

后端 未结 7 1005
长情又很酷
长情又很酷 2021-01-19 04:12

Given the following: byte[] sData; and a function declared as private byte[] construct_command()

if I were to then assign the resul

7条回答
  •  无人及你
    2021-01-19 04:39

    Array is a reference type hence only reference is copied. There is No content manipulation.

提交回复
热议问题