Given the following: byte[] sData; and a function declared as private byte[] construct_command()
if I were to then assign the resul
The assignment will simply assign the sData to reference the instance returned by construct_command. No copying of data will occur.
In general, the CLR breaks the world down into 2 types
Arrays are reference types in the CLR and hence do not cause a copying of the underlying value.