摘要: 提高C#编程水平的50个要点 1.总是用属性 (Property) 来代替可访问的数据成员 2.在 readonly 和 const 之间,优先使用 readonly 3.在 as 和 强制类型转换之间,优先使用 as 操作符 4.使用条件属性 (Conditional Attributes) 来代替条件编译语句 #if 5.总是为自定义类重载 ToString 方法 6.区别值类型和引用类型 ... 阅读全文
posted @ 2008-09-12 17:10 子午 阅读(632) 评论(0) 推荐(0) 编辑
摘要: Another common type of reasoning is the search for causes and results.另一个普遍的推理类型是因果的研究。 We want to know whether cigarettes really do cause lung cancer. 我们希望知道香烟是否确实引起肺癌, and what causes malnutrit... 阅读全文
posted @ 2008-09-12 13:24 子午 阅读(454) 评论(0) 推荐(0) 编辑