Effective C# Item 35: Prefer Overrides to Event Handlers
摘要:Effective C# Item 35: Prefer Overrides to Event Handlers
在处理派生类事件时推荐重写而不是使用事件句柄
阅读全文
posted @
2007-06-16 19:25
aiya
阅读(1405)
推荐(0) 编辑
Effective C# Item 40: Match Your Collection to Your Needs
摘要:Effective C# Item 40: Match Your Collection to Your Needs
根据需要选用恰当的集合
阅读全文
posted @
2007-06-08 14:22
aiya
阅读(1477)
推荐(0) 编辑
Effective C# Item 31: Prefer Small, Simple Functions
摘要:Effective C# Item 31: Prefer Small, Simple Functions
推荐使用小且简单的函数
阅读全文
posted @
2007-05-27 21:03
aiya
阅读(1356)
推荐(0) 编辑
Effective C# Item 30: Prefer CLS-Compliant Assemblies
摘要:Effective C# Item 30: Prefer CLS-Compliant Assemblies
让程序集符合CLS(公共语言规范)
阅读全文
posted @
2007-05-21 14:49
aiya
阅读(1335)
推荐(0) 编辑
Chapter 4 Create Binary Components
摘要:Chapter 4 Create Binary Components
创建二进制组件
阅读全文
posted @
2007-04-25 19:35
aiya
阅读(807)
推荐(0) 编辑
Effective C# Item 29: Use the new Modifier Only When Base Class Updates Mandate it
摘要:Effective C# Item29: Use the new Modifier Only When Base Class Updates Mandate it
只在更新基类的情况下使用new修饰符
阅读全文
posted @
2007-04-22 11:40
aiya
阅读(855)
推荐(0) 编辑
Effective C# Item 28: Avoid Conversion Operators
摘要:Effective C# Item 28: Avoid Conversion Operators
尽量避免转换操作
阅读全文
posted @
2007-04-14 14:57
aiya
阅读(975)
推荐(0) 编辑
Effective C# Item 27: Avoid ICloneable
摘要:Effective C# Item 27: Avoid ICloneable
避免使用ICloneable接口
阅读全文
posted @
2007-04-07 16:10
aiya
阅读(881)
推荐(0) 编辑
Effective C# Item 26: Implement Ordering Relations with IComparable and IComparer
摘要:Effective C# Item 26: Implement Ordering Relations with IComparable and IComparer
通过IComparable和IComparer接口来实现排序关系
阅读全文
posted @
2007-03-26 11:17
aiya
阅读(902)
推荐(1) 编辑
Effective C# Item 25: Prefer Serializable Type
摘要:Effective C# Item 25: Prefer Serializable Type
推荐支持序列化
阅读全文
posted @
2007-03-19 12:04
aiya
阅读(1078)
推荐(0) 编辑
Effective C# Item 24: Prefer Declarative to Imperative Programming
摘要:Effective C# Item 24: Prefer Declarative to Imperative Programming
推荐使用声明式编程
阅读全文
posted @
2007-03-05 10:56
aiya
阅读(839)
推荐(0) 编辑
Effective C# Item 23: Avoid Returning References to Internal Class Objects
摘要:Effective C# Item23 : Avoid Returning References to Internal Class Objects
避免返回内部成员的引用
阅读全文
posted @
2007-01-29 09:56
aiya
阅读(838)
推荐(1) 编辑
Effective C# Item 22: Define Outgoing Interface With Events
摘要:Effective C# Item 22:Define Outgoing Interface With Events
使用事件定义传出接口
阅读全文
posted @
2006-12-22 09:09
aiya
阅读(959)
推荐(0) 编辑
Effective C# Item 20: Distinguish Between Implementing Interfaces and Overriding Virtual Functions
摘要:Effective C# Item 20: Distinguish Between Implementing Interfaces and Overriding Virtual Functions
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-11-13 08:52
aiya
阅读(1170)
推荐(1) 编辑
Effective C# Item19: Prefer Defining and Implementing Interfaces to Inheritance
摘要:Effective C# Item19: Prefer Defining and Implementing Interfaces to Inheritance
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-10-31 08:52
aiya
阅读(1908)
推荐(0) 编辑
Effective C# Item18: Implement the Standard Dispose Pattern
摘要:Effective C# Item18: Implement the Standard Dispose Pattern
实现标准Dispose模式
阅读全文
posted @
2006-10-27 10:48
aiya
阅读(1812)
推荐(0) 编辑
Effective C# Item17: Minimize Boxing and Unboxing
摘要:Effective C# Item17: Minimize Boxing and Unboxing
减少装箱和拆箱操作
阅读全文
posted @
2006-10-24 09:10
aiya
阅读(1654)
推荐(0) 编辑
Effective C# Item 16: Minimize Garbage
摘要:Effective C# Item 16: Minimize Garbage
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-10-20 09:19
aiya
阅读(1262)
推荐(0) 编辑
Effective C# Item 15: Utilize using and try/finally for Resource Cleanup
摘要:Effective C# Item 15: Utilize using and try/finally for Resource Cleanup
使用using和try/finally释放资源 还有对于Dispose(),Close(),析构函数和Finalize()的一个问题
阅读全文
posted @
2006-10-16 09:10
aiya
阅读(1145)
推荐(0) 编辑