随笔 - 54  文章 - 2 评论 - 79 阅读 - 69803
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

09 2006 档案
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 阅读(720) 评论(0) 推荐(0) 编辑
Effective C# Chapter 1 小结
摘要:Effective C# Chapter 1 小结 阅读全文
posted @ 2006-09-27 08:57 aiya 阅读(681) 评论(0) 推荐(0) 编辑
Effective C# Item 11: Prefer foreach Loops
摘要:Effective C# Item 11: Prefer foreach Loops 推荐使用foreach循环 阅读全文
posted @ 2006-09-25 08:50 aiya 阅读(1116) 评论(4) 推荐(0) 编辑
精确计算代码执行时间
摘要:使用QueryPerformanceFrequency函数和QueryPerformanceCounter函数获得更为精确的代码执行时间 阅读全文
posted @ 2006-09-23 11:23 aiya 阅读(2689) 评论(3) 推荐(1) 编辑
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 阅读(1100) 评论(1) 推荐(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 阅读(1202) 评论(3) 推荐(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 阅读(1238) 评论(5) 推荐(1) 编辑
FlagsAttribute属性在enum中的应用
摘要:FlagsAttribute属性在enum中的应用及与普通枚举的对比 阅读全文
posted @ 2006-09-16 12:10 aiya 阅读(2950) 评论(1) 推荐(3) 编辑
Effective C# Item7: Prefer Immutable Atomic Value Types
摘要:Effective C# Item7: Prefer Immutable Atomic Value Types 推荐使用不可变原子值类型 阅读全文
posted @ 2006-09-14 10:52 aiya 阅读(981) 评论(1) 推荐(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 阅读(825) 评论(0) 推荐(1) 编辑
设计模式学习笔记之 Composite
摘要:设计模式学习笔记之 Composite 阅读全文
posted @ 2006-09-10 17:21 aiya 阅读(357) 评论(0) 推荐(0) 编辑
设计模式学习笔记之 Bridge
摘要:设计模式学习笔记之 Bridge 阅读全文
posted @ 2006-09-10 17:10 aiya 阅读(252) 评论(0) 推荐(0) 编辑
设计模式学习笔记之 Adapter
摘要:设计模式学习笔记之 Adapter 阅读全文
posted @ 2006-09-10 16:55 aiya 阅读(262) 评论(0) 推荐(0) 编辑
设计模式学习笔记之 Prototype
摘要:设计模式学习笔记之 Prototype 阅读全文
posted @ 2006-09-10 16:47 aiya 阅读(250) 评论(0) 推荐(0) 编辑
设计模式学习笔记之 Factory
摘要:设计模式学习笔记之 Factory 阅读全文
posted @ 2006-09-10 16:39 aiya 阅读(295) 评论(1) 推荐(1) 编辑
设计模式学习笔记之 Builder
摘要:设计模式学习笔记之 Builder 阅读全文
posted @ 2006-09-10 16:30 aiya 阅读(264) 评论(0) 推荐(0) 编辑
设计模式学习笔记之 Abstract Factory
摘要:设计模式学习笔记之 Abstract Factory 阅读全文
posted @ 2006-09-10 16:19 aiya 阅读(224) 评论(0) 推荐(0) 编辑
设计模式学习笔记之 Singleton
摘要:设计模式学习笔记之 Singleton 阅读全文
posted @ 2006-09-10 16:11 aiya 阅读(280) 评论(0) 推荐(0) 编辑
设计模式学习笔记
摘要:设计模式学习笔记前言 + 目录 阅读全文
posted @ 2006-09-10 15:57 aiya 阅读(255) 评论(0) 推荐(0) 编辑
SQL分组排序问题
摘要:3个字段ABC要挑出以A分组C第n大的行 开始是想先取TOP n - 1,然后取不在这TOP n – 1 中的TOP1就是第N个了,比较麻烦。 后来有猛人解答: select * from t t1 where (select count(*) from t where t1.A = t.A and t1.c<=t.c) = n 就可以取到以A分组每组的第n大(t为表... 阅读全文
posted @ 2006-09-09 13:43 aiya 阅读(1632) 评论(2) 推荐(0) 编辑
关于.Net WinForm 中的控件失去焦点时触发事件的问题
摘要:WinForm跟踪代码时发现当焦点离开控件时触发事件的顺序同MSDN中提到的并不完全相同,分为两种情况 另外还有对Validating和Validated事件的触发条件和时机的一些使用结果 阅读全文
posted @ 2006-09-09 13:24 aiya 阅读(6538) 评论(2) 推荐(0) 编辑
Effective C# Item 5: Always Provide ToString()
摘要:Effective C# Item 5: Always Provide ToString() 为类型提供ToString()方法 阅读全文
posted @ 2006-09-09 12:18 aiya 阅读(988) 评论(3) 推荐(0) 编辑
IExtenderProvider接口的应用
摘要:IExtenderProvider接口在WinForm中应用的体会和一个小例子 阅读全文
posted @ 2006-09-08 10:03 aiya 阅读(681) 评论(1) 推荐(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 阅读(1379) 评论(8) 推荐(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 阅读(924) 评论(5) 推荐(0) 编辑
Effective C# Item 2: Prefer readonly to const
摘要:Effective C# Item2: Prefer readonly to const 概要翻译 + 读书笔记 欢迎拍砖 谢谢 阅读全文
posted @ 2006-09-01 08:39 aiya 阅读(1005) 评论(1) 推荐(0) 编辑

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