What is Memory usage difference between workMethods(ref myArray) vs workMethods(myArray) ?
int[] myArray = new myArray[2000]; for(int i=0; i < myArray.Length; i++) { myArray[i] = i; }
workMethods(ref myArray);
workMethods(myArray);
ref
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)