随笔分类 -  .NET相关

一切和.NET相关的知识。
摘要:GoF的设计模式一共23个,可以分为3大类:创建型、结构型和行为型,这篇文章主要对这些模式进行总结和回顾。 阅读全文
posted @ 2013-05-02 19:52 李潘 阅读(1490) 评论(0) 推荐(0) 编辑
摘要:GoF的设计模式一共23个,可以分为3大类:创建型、结构型和行为型,这篇文章主要讨论行为型。 阅读全文
posted @ 2013-05-02 11:31 李潘 阅读(4121) 评论(2) 推荐(0) 编辑
摘要:GoF的设计模式一共23个,可以分为3大类:创建型、结构型和行为型,这篇文章主要讨论结构型。 阅读全文
posted @ 2013-04-27 13:38 李潘 阅读(4014) 评论(0) 推荐(0) 编辑
摘要:GoF的设计模式一共23个,可以分为3大类:创建型、结构型和行为型,这篇文章主要讨论创建型。 阅读全文
posted @ 2013-04-14 23:20 李潘 阅读(5920) 评论(0) 推荐(0) 编辑
摘要:主要复习对象之间的关系。 阅读全文
posted @ 2012-06-23 11:49 李潘 阅读(5894) 评论(1) 推荐(1) 编辑
摘要:我在2009年2月份的时候,发表了一篇博客,说要翻译《Application Architecture Guide 2.0》,具体请见开始翻译《Application Architecture Guide 2.0》,得到很多朋友的支持,在此非常感谢。 由于在发表这篇博客之后,我决定和博文视点合作,翻译《Programming ASP.NET 3.5》,具体请见终于出版了,中间一直忙碌了3个多月,没... 阅读全文
posted @ 2010-07-09 11:01 李潘 阅读(705) 评论(6) 推荐(0) 编辑
摘要:Item 10. Implement Classic Interfaces in Addition to Generic Interfaces 阅读全文
posted @ 2010-06-15 12:34 李潘 阅读(568) 评论(0) 推荐(1) 编辑
摘要:Item 9. Prefer Generic Tuples to Output and Ref Parameters 阅读全文
posted @ 2010-06-15 10:21 李潘 阅读(1229) 评论(2) 推荐(1) 编辑
摘要:Item 8. Prefer Generic Methods Unless Type Parameters Are Instance Fields 阅读全文
posted @ 2010-06-14 23:08 李潘 阅读(665) 评论(0) 推荐(0) 编辑
摘要:Item 7. Do Not Create Generic Specialization on Base Classes or Interfaces 阅读全文
posted @ 2010-06-14 17:42 李潘 阅读(392) 评论(0) 推荐(1) 编辑
摘要:Item 6. Use Delegates to Define Method Constraints on Type Parameters 阅读全文
posted @ 2010-06-03 01:01 李潘 阅读(523) 评论(0) 推荐(0) 编辑
摘要:Item 5. Ensure That Your Generic Classes Support Disposable Type Parameters 阅读全文
posted @ 2010-03-24 00:01 李潘 阅读(526) 评论(0) 推荐(0) 编辑
摘要:Item 4. Use Generics to Force Compile-Time Type Inference 阅读全文
posted @ 2010-03-23 23:12 李潘 阅读(480) 评论(0) 推荐(0) 编辑
摘要:Item 3. Specialize Generic Algorithms Using Runtime Type Checking 阅读全文
posted @ 2010-03-22 21:47 李潘 阅读(584) 评论(0) 推荐(0) 编辑
摘要:Item 2. Define Constraints That Are Minimal and Sufficient 阅读全文
posted @ 2010-03-18 22:46 李潘 阅读(590) 评论(0) 推荐(0) 编辑
摘要:Item 1. Use Generic Replacements of 1.x Framework API Classes 阅读全文
posted @ 2010-03-15 22:57 李潘 阅读(709) 评论(0) 推荐(1) 编辑
摘要:Working with Generics 阅读全文
posted @ 2010-03-14 10:25 李潘 阅读(668) 评论(2) 推荐(2) 编辑
摘要:要判断一个程序员是不是好的程序员,主要看他写的代码,因为程序员最重要的事是写代码。  即便不去理解代码的意图,只要看一眼,好的程序员写的代码与差的程序员写的代码基本上就可以看出来。好的程序员写的代码,整洁而规范,视觉上自然有一种美感。空白错落有致,注释恰到好处,命名和排版遵守统一的规范。差的程序员写的代码则经常出现过长的函数,前后不一致的命名方式和排版,过深的嵌套结构,非常复杂的表达式,随处可见的... 阅读全文
posted @ 2010-03-02 23:48 李潘 阅读(388) 评论(0) 推荐(0) 编辑
摘要:Item 47: Prefer Safe Code 阅读全文
posted @ 2010-03-01 20:49 李潘 阅读(410) 评论(0) 推荐(0) 编辑
摘要:Item 46: Minimize Interop 阅读全文
posted @ 2010-03-01 19:54 李潘 阅读(363) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示