导航

2009年11月25日

摘要: 1.总是用属性 (Property) 来代替可访问的数据成员 2.在 readonly 和 const 之间,优先使用 readonly 3.在 as 和 强制类型转换之间,优先使用 as 操作符 4.使用条件属性 (Conditional Attributes) 来代替条件编译语句 #if 5.总是为自定义类重载 ToString 方法 6.区别值类型和引用类型 7.使用不可变的值类型(Immu... 阅读全文

posted @ 2009-11-25 09:00 pcajax 阅读(96) 评论(0) 推荐(0) 编辑

摘要: <html> <head> <style>         body{             text-align:center;     &... 阅读全文

posted @ 2009-11-25 08:58 pcajax 阅读(138) 评论(0) 推荐(0) 编辑