通过序列化的方式实现深拷贝 [Serializable] public class Person:ICloneable { public string Name { get; set; } public int Age { get; set; } public List<Friend> FriendList { get; set; } public object Clone() { MemoryStream memoryStream = new MemoryStream(); BinaryFo…