Mark:
//实现IClonable接口并重写Clone方法就可以实现深克隆了 #region ICloneable 成员 public object Clone() { MemoryStream ms = new MemoryStream(); BinaryFormatter bf = new BinaryFormatter(); bf.Serialize(ms, this); ms.Seek(0, 0); object value = bf.Deserialize(ms); ms.Close(); return value;//this.MemberwiseClone(); } #endregion