对象深度复制

实现ICloneable接口

public class MyClass : ICloneable

{

  public object Clone()

  {

    ...

    return ...;

  }

}

posted @ 2011-07-18 10:50  绯色卡卡  阅读(136)  评论(0)    收藏  举报