C#中的对象深拷贝和浅拷贝
摘要:
1. 浅拷贝 public class Person { public Person() { this.Address = new Address(); } public string Name { get; set; } public int Age { get; set; } public Ad 阅读全文
posted @ 2024-05-11 14:10 宁静致远. 阅读(36) 评论(0) 推荐(0) 编辑