随笔分类 -  .NET相关

一切和.NET相关的知识。
摘要:Item 26: Implement Ordering Relations with IComparable and IComparer 阅读全文
posted @ 2010-01-19 23:24 李潘 阅读(710) 评论(0) 推荐(0)
摘要:Item 25: Prefer Serializable Types 阅读全文
posted @ 2010-01-18 23:53 李潘 阅读(573) 评论(0) 推荐(1)
摘要:Item 24: Prefer Declarative to Imperative Programming 阅读全文
posted @ 2010-01-17 23:47 李潘 阅读(1358) 评论(0) 推荐(0)
摘要:Item 23: Avoid Returning References to Internal Class Objects 阅读全文
posted @ 2010-01-17 00:28 李潘 阅读(700) 评论(0) 推荐(1)
摘要:Item 22: Define Outgoing Interfaces with Events 阅读全文
posted @ 2010-01-16 22:55 李潘 阅读(543) 评论(0) 推荐(0)
摘要:Item 21: Express Callbacks with Delegates 阅读全文
posted @ 2010-01-16 17:51 李潘 阅读(471) 评论(0) 推荐(0)
摘要:Item 20: Distinguish Between Implementing Interfaces and Overriding Virtual Functions 阅读全文
posted @ 2010-01-16 17:04 李潘 阅读(1027) 评论(0) 推荐(0)
摘要:Item 19: Prefer Defining and Implementing Interfaces to Inheritance 阅读全文
posted @ 2010-01-15 23:17 李潘 阅读(735) 评论(0) 推荐(1)
摘要:Item 18: Implement the Standard Dispose Pattern 阅读全文
posted @ 2010-01-14 23:56 李潘 阅读(808) 评论(0) 推荐(0)
摘要:Item 17: Minimize Boxing and Unboxing 阅读全文
posted @ 2010-01-14 00:29 李潘 阅读(652) 评论(0) 推荐(0)
摘要:Item 16: Minimize Garbage 阅读全文
posted @ 2010-01-13 22:59 李潘 阅读(587) 评论(0) 推荐(0)
摘要:Item 15: Utilize using and TRy/finally for Resource Cleanup 阅读全文
posted @ 2010-01-13 22:03 李潘 阅读(597) 评论(0) 推荐(1)
摘要:Item 14: Utilize Constructor Chaining 阅读全文
posted @ 2010-01-12 22:42 李潘 阅读(577) 评论(0) 推荐(1)
摘要:Item 13: Initialize Static Class Members with Static Constructors 阅读全文
posted @ 2010-01-12 00:08 李潘 阅读(1270) 评论(0) 推荐(0)
摘要:Item 12: Prefer Variable Initializers to Assignment Statements 阅读全文
posted @ 2010-01-11 23:43 李潘 阅读(971) 评论(8) 推荐(0)
摘要:Item 11: Prefer foreach Loops 阅读全文
posted @ 2010-01-11 21:13 李潘 阅读(731) 评论(2) 推荐(0)
摘要:Item 10: Understand the Pitfalls of GetHashCode() 阅读全文
posted @ 2010-01-10 22:32 李潘 阅读(869) 评论(0) 推荐(0)
摘要:Item 9: Understand the Relationships Among ReferenceEquals(), static Equals(), instance Equals(), and operator== 阅读全文
posted @ 2010-01-09 14:13 李潘 阅读(800) 评论(0) 推荐(0)
摘要:Item 8: Ensure That 0 Is a Valid State for Value Types 阅读全文
posted @ 2010-01-07 23:53 李潘 阅读(581) 评论(0) 推荐(0)
摘要:Item 7: Prefer Immutable Atomic Value Types 阅读全文
posted @ 2010-01-06 22:15 李潘 阅读(371) 评论(0) 推荐(1)