Effective C# Item14: Utilize Constructor Chaining
摘要:Effective C# Item14: Utilize Constructor Chaining
使用构造函数链
阅读全文
posted @
2006-10-13 09:08
aiya
阅读(771)
推荐(1) 编辑
Effective C# Item13: Initialize Static Class Members with Static Constructiors
摘要:Effective C# Item13: Initialize Static Class Members with Static Constructiors
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-10-11 12:48
aiya
阅读(824)
推荐(1) 编辑
Effective C# Item12: Prefer Variable Initializers to Assignment Statements
摘要:Effective C# Item12: Prefer Variable Initializers to Assignment Statements
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-09-30 15:20
aiya
阅读(714)
推荐(0) 编辑
Effective C# Chapter 1 小结
摘要:Effective C# Chapter 1 小结
阅读全文
posted @
2006-09-27 08:57
aiya
阅读(677)
推荐(0) 编辑
Effective C# Item 11: Prefer foreach Loops
摘要:Effective C# Item 11: Prefer foreach Loops
推荐使用foreach循环
阅读全文
posted @
2006-09-25 08:50
aiya
阅读(1114)
推荐(0) 编辑
Effective C# Item 10: Understand the Pitfalls of GetHashCode()
摘要:Effective C# Item 10: Understand the Pitfalls of GetHashCode()
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-09-21 10:51
aiya
阅读(1096)
推荐(0) 编辑
Effective C# Item 9: Understand the Relationships Among ReferenceEquals(),static Equals(),instance Equals,and operator==
摘要:Effective C# Item 9: Understand the Relationships Among ReferenceEquals(),static Equals(),instance Equals,and operator==
区分ReferenceEquals(),static Equals(),instance Equals和运算符==
阅读全文
posted @
2006-09-20 08:45
aiya
阅读(1200)
推荐(1) 编辑
Effective C# Item 8: Ensure That 0 Is a Valid State for Value Types
摘要:Effective C# Item 8: Ensure That 0 Is a Valid State for Value Types
确保0在值类型中有效
阅读全文
posted @
2006-09-16 12:12
aiya
阅读(1236)
推荐(1) 编辑
Effective C# Item7: Prefer Immutable Atomic Value Types
摘要:Effective C# Item7: Prefer Immutable Atomic Value Types
推荐使用不可变原子值类型
阅读全文
posted @
2006-09-14 10:52
aiya
阅读(978)
推荐(1) 编辑
Effective C# Item 6: Distinguish Between Value Types and Reference Types
摘要:Effective C# Item 6: Distinguish Between Value Types and Reference Types
区分值类型和引用类型
阅读全文
posted @
2006-09-11 08:39
aiya
阅读(822)
推荐(1) 编辑
Effective C# Item 5: Always Provide ToString()
摘要:Effective C# Item 5: Always Provide ToString()
为类型提供ToString()方法
阅读全文
posted @
2006-09-09 12:18
aiya
阅读(986)
推荐(0) 编辑
Effective C# Item 4: Use Conditional Attributes Instead of #if
摘要:Effective C# Item4: Use Conditional Attributes Instead of #if
使用条件控制属性来代替#if
阅读全文
posted @
2006-09-07 10:59
aiya
阅读(1376)
推荐(0) 编辑
Effective C# Item 3: Prefer the is or as Operators to Casts
摘要:Effective C# Item3: Prefer the is or as Operators to Casts
推荐使用is和as来代替强制类型转换
阅读全文
posted @
2006-09-02 09:49
aiya
阅读(923)
推荐(0) 编辑
Effective C# Item 2: Prefer readonly to const
摘要:Effective C# Item2: Prefer readonly to const
概要翻译 + 读书笔记 欢迎拍砖 谢谢
阅读全文
posted @
2006-09-01 08:39
aiya
阅读(1003)
推荐(0) 编辑
Effective C# Item 1: Always Use Properties Instead of Accessible Data Members
摘要:Effective C# Item1: Always Use Properties Instead of Accessible Data Members
使用属性来代替暴露公有数据成员
阅读全文
posted @
2006-08-29 22:18
aiya
阅读(1618)
推荐(1) 编辑
Effective C#:50 Specific Ways to Improve Your C# 读书笔记
摘要:边读边学感觉很有收获,写一下概要翻译和自己的体会。欢迎大家拍砖 Chapter 1 C# Language Element Item 1: Always Use Properties Instead of Accessible Data Members Item 2: Prefer readonly to const Item 3: Prefer...
阅读全文
posted @
2006-08-29 22:14
aiya
阅读(2802)
推荐(1) 编辑