More Effective C# : 50 Specific Ways to Improve Your C#, 2/e (Includes Content Update Program) (更有效的 C#:50 種提升 C# 的具體方法,第二版(包含內容更新計畫))
Bill Wagner
- 出版商: Addison Wesley
- 出版日期: 2017-08-15
- 定價: $1,680
- 售價: 9.5 折 $1,596
- 語言: 英文
- 頁數: 304
- 裝訂: Paperback
- ISBN: 0672337886
- ISBN-13: 9780672337888
-
相關分類:
C#
-
相關翻譯:
More Effective C# 中文版 | 寫出良好 C#程式的 50個具體做法, 2/e (More Effective C# : 50 Specific Ways to Improve Your C#, 2/e) (繁中版)
More Effective C#:改善C#代碼的50個有效方法(原書第2版) (簡中版)
立即出貨
買這商品的人也買了...
-
$1,780$1,691 -
$680$537 -
$2,180$2,071 -
$800$632 -
$2,350$2,233 -
$360$281 -
$825The Art of Unit Testing: with examples in C#, 2/e (Paperback)
-
$480$379 -
$550$550 -
$1,800Physically Based Rendering : From Theory to Implementation, 3/e (Hardcover)
-
$1,596Effective C# : 50 Specific Ways to Improve Your C#(Covers C# 6.0), 3/e (Paperback)
-
$360$281 -
$580$458 -
$980$774 -
$680$537 -
$790$616 -
$147Unreal Engine 4 藍圖可視化編程
-
$580$458 -
$250Cocos2D-X 3.X 3D圖形學渲染技術講解
-
$403大數據之路:阿裡巴巴大數據實踐
-
$449遊戲開發之旅 : 初入遊戲職場的必修課
-
$1,850$1,758 -
$1,724$1,634 -
$600$474 -
$680$578
相關主題
商品描述
In More Effective C#, Second Edition, world-renowned .NET expert Bill Wagner identifies and illuminates 50 intermediate-to-advanced techniques for writing exceptionally robust and well-performing C# 7.0 code. Reflecting the growing sophistication of the C# language and its development community, Wagner presents powerful new solutions to problems you’re likely to encounter every day.
Through three editions of Effective C#, Wagner’s clear explanations, expert tips, and realistic code examples have proven invaluable to hundreds of thousands of developers. With the publication of this title, Effective C#, Third Edition, and More Effective C#, Second Edition, have been completely reorganized to provide clear explanations, expert tips, and realistic code examples in a cohesive package for modern C#. More Effective C#, Second Edition, brings the same proven approach to the new features in C# 7.0, helping you perform familiar tasks more efficiently and effectively.
Drawing on his unsurpassed C# experience and key role on global C# standards committees, Wagner addresses object-oriented, functional, and service-oriented approaches to managing data with C#; better ways to express your intent to users and other programmers; and new opportunities to leverage powerful asynchronous and dynamic programming techniques.
- Use properties instead of accessible data members (Item 1)
- Distinguish between value and reference types (Item 4)
- Understand relationships among multiple concepts of equality (Item 9)
- Avoid conversion operators in your APIs (Item 11)
- Understand how interface and virtual methods differ (Item 15)
- Avoid overloading methods defined in base classes (Item 19)
- Create method groups that are clear, minimal, and complete (Item 22)
- Enable immediate error reporting in iterators and async methods (Item 26)
- Use async methods for async work (Item 27)
- Avoid thread allocations and context switches (Item 30)
- Construct PLINQ parallel algorithms with exceptions in mind (Item 36)
- Use the thread pool instead of creating threads (Item 37)
- Use BackgroundWorker for cross-thread communication (Item 38)
- Use the smallest possible scope for lock handles (Item 41)
- Understand the pros and cons of dynamic programming (Item 43)
- Make full use of the expression API (Item 46)
- Minimize dynamic objects in public APIs (Item 47)
You’re already a successful C# programmer: this book will make you an outstanding one.
Content Update Program: This book is part of the InformIT Content Update Program. As updates are made to C#, sections of this book will be updated or new sections will be added to match updates to the technologies.
Register your product at informit.com/register for convenient access to downloads, updates, and corrections as they become available.
商品描述(中文翻譯)
在《更有效的C#,第二版》中,全球知名的.NET專家Bill Wagner辨識並闡明了50種中高級技巧,用於撰寫出非常強健且高效的C# 7.0程式碼。這本書反映了C#語言及其開發社群日益成熟的特點,Wagner提供了解決你每天可能遇到的問題的強大新解決方案。
通過《更有效的C#,第二版》的出版,Wagner的清晰解釋、專家建議和實際代碼示例已經被數以十萬計的開發人員證明是非常有價值的。《更有效的C#,第二版》和《更有效的C#,第三版》已經重新組織,以提供清晰的解釋、專家建議和現代C#的實際代碼示例。
Wagner憑藉其無與倫比的C#經驗和在全球C#標準委員會的重要角色,探討了使用C#管理數據的面向對象、函數和服務導向方法;更好地表達您對用戶和其他程序員的意圖的方法;以及利用強大的異步和動態編程技術的新機會。
以下是一些技巧的例子:
- 使用屬性而不是可訪問的數據成員(項目1)
- 區分值類型和引用類型(項目4)
- 瞭解多個相等概念之間的關係(項目9)
- 避免在API中使用轉換運算符(項目11)
- 瞭解接口和虛擬方法之間的區別(項目15)
- 避免重載在基類中定義的方法(項目19)
- 創建清晰、最小和完整的方法組(項目22)
- 在迭代器和異步方法中啟用即時錯誤報告(項目26)
- 使用異步方法進行異步工作(項目27)
- 避免線程分配和上下文切換(項目30)
- 在考慮異常的情況下構建PLINQ並行算法(項目36)
- 使用線程池而不是創建線程(項目37)
- 使用BackgroundWorker進行跨線程通信(項目38)
- 對於鎖定處理,使用最小可能的範圍(項目41)
- 瞭解動態編程的優點和缺點(項目43)
- 充分利用表達式API(項目46)
- 在公共API中最小化動態對象(項目47)
如果你已經是一位成功的C#程式設計師,這本書將使你成為一位優秀的程式設計師。
此書是InformIT內容更新計劃的一部分。隨著C#的更新,本書的部分內容將得到更新或新增以匹配技術的更新。
請在informit.com/register註冊您的產品,以便方便地獲取下載、更新和更正。