• Effective C#
21年品牌 40万+商家 超1.5亿件商品

Effective C#

68 7.6折 89 九五品

仅1件

北京通州
认证卖家担保交易快速发货售后保障

作者(美)比·瓦格纳(Bill Wagner) 著

出版社电子工业出版社

ISBN9787121342653

出版时间2018-07

版次1

装帧平装

开本16开

纸张胶版纸

页数268页

字数99999千字

定价89元

上书时间2024-04-13

灵感飞驰

已实名 已认证 进店 收藏店铺

   商品详情   

品相描述:九五品
商品描述
基本信息
书名:Effective C#
定价:89.00元
作者:(美)比·瓦格纳(Bill Wagner) 著
出版社:电子工业出版社
出版日期:2018-07-01
ISBN:9787121342653
字数:355000
页码:268
版次:1
装帧:平装
开本:16开
商品重量:
编辑推荐
适读人群 :对C#有浓厚兴趣或者有一定面向对象编程经验的读者或者是想在C#高级编程走的更高的程序开发者。                              √ .NET专家Bill Wanger倾情力作√ More Effective C# 升级版本√ 应用开发者常备书目√ 深度理解C#编程语言
内容提要
本书的作者,也是.NET专家Bill Wanger给出我们50条利用C#优点以及特性来写出健壮的,高效的,易于维护的代码的高效法则。同时,本书也反映出了C#语言愈发不错的特性以及关于它的开发社区。本书同时也给出了大量新颖的方法让你能够写出高效可靠的代码。近期新的第三版囊括了一些泛型和一些其他的语言集成查询(LINQ),还包括了对异常不错实践这一新的章节。
目录
Chapter 1 C# Language Idioms  1Item 1: Prefer Implicitly Typed Local Variables 1Item 2: Prefer readonly to const 7Item 3: Prefer the is or as Operators to Casts 12Item 4: Replace string.Format with Interpolated Strings 19Item 5: Prefer FormattableString for Culture-Specific Strings  23Item 6: Avoid String-ly Typed APIs  26Item 7: Express Callbacks with Delegates 28Item 8: Use the Null Conditional Operator for Event Invocations 31Item 9: Minimize Boxing and Unboxing 34Item 10: Use the new Modifier Only to React to Base Class Updates 38Chapter 2 .NET Resource Management  43Item 11: Understand .NET Resource Management  43Item 12: Prefer Member Initializers to Assignment Statements 48Item 13: Use Proper Initialization for Static Class Members 51Item 14: Minimize Duplicate Initialization Logic  53Item 15: Avoid Creating Unnecessary Objects  61Item 16: Never Call Virtual Functions in Constructors  65Item 17: Implement the Standard Dispose Pattern 68Chapter 3 Working with Generics 77Item 18: Always Define Constraints That Are Minimal and Sufficient 79Item 19: Speize Generic Algorithms Using Runtime Type Checking  85Item 20: Implement Ordering Relations with IComparable<T> and IComparer<T>  92Item 21: Always Create Generic Classes That Support Disposable Type Parameters 98Item 22: Support Generic Covariance and Contravariance  101Item 23: Use Delegates to Define Method Constraints on Type Parameters 107Item 24: Do Not Create Generic Speization on Base Classes or Interfaces  112Item 25: Prefer Generic Methods Unless Type Parameters Are Instance Fields 116Item 26: Implement Classic Interfaces in Addition to Generic Interfaces 120Item 27: Augment Minimal Interface Contracts with Extension Methods  126Item 28: Consider Enhancing Constructed Types with Extension Methods  130Chapter 4 Working with LINQ  133Item 29: Prefer Iterator Methods to Returning Collections  133Item 30: Prefer Query Syntax to Loops  139Item 31: Create Composable APIs for Sequences  144Item 32: Decouple Iterations from Actions, Predicates, and Functions 151Item 33: Generate Sequence Items as Requested 154Item 34: Loosen Coupling by Using Function Parameters157Item 35: Never Overload Extension Methods  163Item 36: Understand How Query Expressions Map to Method Calls  167Item 37: Prefer Lazy Evaluation to Eager Evaluation in Queries  179Item 38: Prefer Lambda Expressions to Methods  184Item 39: Avoid Throwing Exceptions in Functions and Actions 188Item 40: Distinguish Early from Deferred Execution  191Item 41: Avoid Capturing Expensive Resources  195Item 42: Distinguish between IEnumerable and IQueryable Data Sources 208Item 43: Use Single and First to Enforce Semantic Expectations on Queries  212Item 44: Avoid Modifying Bound Variables  215Chapter 5 Exception Practices  221Item 45: Use Exceptions to Report Method Contract Failures 221Item 46: Utilize using and try/finally for Resource Cleanup 225Item 47: Create Complete Application-Specific Exception Classes  232Item 48: Prefer the Strong Exception Guarantee  237Item 49: Prefer Exception Filters to catch and re-throw  245Item 50: Leverage Side Effects in Exception Filters  249Index  253
作者介绍
比尔·瓦格纳(Bill Wagner),世界知名的C#专家,也是ECMA C#标准委员会成员。他在Humanitarian Toolbox项目中担任主管,并荣获微软公司.NET MVP称号长达11年,很近开始在.NET Foundation AdvisoryCouncil任职。Wagner在工作中与各种规模的公司合作,帮助这些创业公司或企业改进软件开发流程,并培养软件开发团队。目前,他是微软.NET核心内容团队的员工,写过很多与C#语言及.NET框架有关的学习资料。他拥有伊利诺伊大学厄巴纳-尚佩恩分校计算机科学专业的学士学位。
序言

—  没有更多了  —

以下为对购买帮助不大的评价

此功能需要访问孔网APP才能使用
暂时不用
打开孔网APP