摘要:
第一段程序: public static void change(int[] arr) { // both of the following changes will affect the original variables: arr[0] = 888; arr = new int[5] { -3, -1, -2, -3, -4 }; Console.WriteLine((arr[0]).ToString()); } public static void Main() { int[] myarray = new int[3]; myarray[0] = 1; myarray[1] = 4;. 阅读全文