摘要:
//值类型的数组Clone是深拷贝 int[] a = new int[] { 1, 2, 3, 4 }; int[] b = (int[])a.Clone(); b[0] = 5; Assert.AreEqual(a[0], 1); //值类型的数组Clone是浅表拷贝 MyClass[] ma 阅读全文
posted @ 2021-03-04 16:54
mdgoogle
阅读(514)
评论(0)
推荐(0)

浙公网安备 33010602011771号