摘要:
深度复制就是引用类型的复制浅度复制是值类型的复制例如:using System;using System.Collections.Generic;using System.Text;namespace Test{ public class Content { public int val; }//此处若是深度复制才继承ICloneable接口 //public class Cloner : ICloneable public class Cloner { public Content MyContent = new Content(); public Cloner(int newVal) { 阅读全文