Given the following: byte[] sData; and a function declared as private byte[] construct_command()
if I were to then assign the resul
Assuming sData is a local variable, it will live in the stack and it will refer to the array returned by the method. The method does not return the contents of the array itself, but a reference to the array.
In .net, arrays are first class objects and all array-type variables are in fact references.