C# 5.0 in a Nutshell

Joseph Albahari

出版时间

2012-06-26

ISBN

9781449320102

评分

★★★★★
书籍介绍
这不是一本教你入门C#的书,而是一本在你被异步、并发、LINQ、动态类型等问题反复卡住时,随时翻查的权威参考。全书围绕
精彩摘录
  • "• Conditionally including an attribute • Changing the declared type of variable • Switching between different namespaces or type aliases in a using directive— for example: using TestType = #if V2 MyCompany.Widgets.GadgetV2; #else MyCompany.Widgets.Gadget; #endif"
  • "A consequence of the last point is that a client should never specifically “catch” a contract failure (the ContractException type, in fact, is internal to help enforce that principle). Instead, the client should call the target properly; if it fails, this indicates a bug that should be handled via y"
用户评论
C#
这就是你了解c#所需要书
concise and accurate, topics are properly ordered
a detailed C# 5.0 reference manual
好书。C#演化到5.0,各种特性层出不穷,想穷尽所有做一个全面的介绍往往到头来都是费力不讨好。但这本书基本上做到了,可能有些部分不够详尽,但在1000多页的篇幅几乎没有滥竽充数的内容,代码示例都非常精当,值得一读。
刚刚开始读
从Threading in c#知道了作者,进而知道了LINQP ad,c# in a nutshell系列也是早有耳闻,但是书架中已经有不少c#方面的书,所以一直没有读的想法,直到后来偶然浏览了一遍这书电子版的目录,立马就被吸引了,基本上涵盖了日常工作所需的各个方面,而且有很多章节都是平时经常听说,略知皮毛但很少深入的,也是写代码时大部分困难的根源,从目录即能看出作者的经验之丰富,编排之用心。再翻开看几页内容(记得当时看的是COM交互),当场如醍醐灌顶,以前好多疑问均茅塞顿开(也可能是技术一般),于是立马收入囊中,时至今日仍不时翻看两眼,每次都能有所收获,实在是不可多得的好书。
求书
收藏
全部深度解读 →主题书单高分榜最近更新