xev

如何在.NET(特别是C#)中对对象进行深层复制? [重复]

痞子三分冷 提交于 2020-08-19 01:02:04
问题: This question already has answers here : 这个问题已经在这里有了答案 : Deep cloning objects (45 answers) 深度克隆对象 (45个答案) Closed 5 years ago . 5年前 关闭。 I want a true deep copy. 我想要一个真正的深复制。 In Java, this was easy, but how do you do it in C#? 在Java中,这很容易,但是如何在C#中实现呢? 解决方案: 参考一: https://stackoom.com/question/Xev/如何在-NET-特别是C-中对对象进行深层复制-重复 参考二: https://oldbug.net/q/Xev/How-do-you-do-a-deep-copy-of-an-object-in-NET-C-specifically-duplicate 来源: oschina 链接: https://my.oschina.net/u/4438370/blog/4423216

如何在.NET(特别是C#)中对对象进行深层复制? [重复]

风格不统一 提交于 2020-08-08 19:01:43
问题: This question already has answers here : 这个问题已经在这里有了答案 : Deep cloning objects (45 answers) 深度克隆对象 (45个答案) Closed 5 years ago . 5年前 关闭。 I want a true deep copy. 我想要一个真正的深复制。 In Java, this was easy, but how do you do it in C#? 在Java中,这很容易,但是如何在C#中实现呢? 解决方案: 参考一: https://stackoom.com/question/Xev/如何在-NET-特别是C-中对对象进行深层复制-重复 参考二: https://oldbug.net/q/Xev/How-do-you-do-a-deep-copy-of-an-object-in-NET-C-specifically-duplicate 来源: oschina 链接: https://my.oschina.net/stackoom/blog/4282712