突然看到的一篇关于阅读 Bill Wagner先生的《Effective C#》的读书笔记,觉得写的不错,就在这里进行了链接。如果谁有这本书的中文版,希望可以给我发一下《Effective C#》的读书笔记先谢谢了

《Effective C#》读书笔记(1)
 Item 1: Always Use Properties Instead of Accessible Data Members
        第一项:永远使用属性而不要直接访问数据成员

《Effective C#》读书笔记(2)
Item 2: Prefer readonly to const
        第2项: 定义常量时,优先使用readonly,而不是const

 《Effective C#》读书笔记(3)
  Item 3: Prefer the is or as Operators to Casts
        第3项: 优先使用is/as进行类型转换
 
《Effective C#》读书笔记(4)
  Item 4: Use Conditional Attributes Instead of #if
    第4项:使用带条件的属性替代#if

相关文章:

  • 2021-07-26
  • 2021-05-26
  • 2022-03-05
  • 2022-03-03
  • 2021-11-06
  • 2022-02-22
猜你喜欢
  • 2021-10-08
  • 2022-02-08
  • 2021-12-15
  • 2022-12-23
  • 2021-06-19
  • 2021-09-25
相关资源
相似解决方案