Item 32: Avoid ICloneable(Effective C#)
摘要:
ICloneable does have its use, but it is the exception rather than rule. It’s significantthat the .NET Framework did not add an ICloneable<T> when itwas updated with generic support. You should never add support forICloneable to value types; use the assignment operation instead. Youshould 阅读全文
posted @ 2011-02-21 21:06 Ray Z 阅读(168) 评论(0) 推荐(0) 编辑