public class Order:ICloneable { public string ProductCode { get; set; } public object Clone() { //MemberwiseClone:返回当前对象的浅表副本(它是Object对象的基方法) return this.MemberwiseClone(); } }
//(Order)order.Clone();