C# 浅拷贝与深拷贝
摘要:
struct Class1: ICloneable { [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.I4, SizeConst = 2)] public int[] lpAlarmPoints; /// <summary> /// 深拷贝Clone /// </summary> /// <returns></returns> public object Clone() { ... 阅读全文
posted @ 2013-02-20 14:10 Sunwayking 阅读(313) 评论(0) 推荐(0) 编辑