More Effective C#: 50 Specific Ways to Improve Your C#
暫譯: 更有效的 C#: 50 種提升 C# 技能的具體方法
Bill Wagner
- 出版商: Addison Wesley
- 出版日期: 2008-10-17
- 定價: $1,650
- 售價: 6.0 折 $990
- 語言: 英文
- 頁數: 336
- 裝訂: Paperback
- ISBN: 0321485890
- ISBN-13: 9780321485892
-
相關分類:
C#
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$880$695 -
$880$695 -
$550$435 -
$980$774 -
$500$450 -
$400$316 -
$990$891 -
$600$480 -
$620$527 -
$120$95 -
$740$585 -
$590$460 -
$620$527 -
$780$616 -
$780$616 -
$590$460 -
$690$587 -
$750$638 -
$750$638 -
$820$648 -
$580$458 -
$530$419 -
$890$757 -
$450$351 -
$650$507
商品描述
“Shining a bright light into many of the dark corners of C# 3.0, this book not only covers the ‘how,’ but also the ‘why,’ arming the reader with many field-tested methods for wringing the most from the new language features, such as LINQ, generics, and multithreading. If you are serious about developing with the C# language, you need this book.”
–Bill Craun, Principal Consultant, Ambassador Solutions, Inc.
“More Effective C# is an opportunity to work beside Bill Wagner. Bill leverages his knowledge of C# and distills his expertise down to some very real advice about programming and designing applications that every serious Visual C# user should know. More Effective C# is one of those rare books that doesn’t just regurgitate syntax, but teaches you how to use the C# language.”
–Peter Ritchie, Microsoft MVP: Visual C#
“More Effective C# is a great follow-up to Bill Wagner’s previous book. The extensive
C# 3.0 and LINQ coverage is extremely timely!”
–Tomas Restrepo, Microsoft MVP: Visual C++, .NET, and Biztalk Server
“As one of the current designers of C#, it is rare that I learn something new about the language by reading a book. More Effective C# is a notable exception. Gently blending concrete code and deep insights, Bill Wagner frequently makes me look at C# in a fresh light–one that really makes it shine. More Effective C# is at the surface a collection of very useful guidelines. Look again. As you read through it, you’ll find that you acquire more than just the individual pieces of advice; gradually you’ll pick up on an approach to programming in C# that is thoughtful, beautiful, and deeply pleasant. While you can make your way willy-nilly through the individual guidelines, I do recommend reading the whole book–or at least not skipping over the chapter introductions before you dive into specific nuggets of advice. There’s perspective and insight to be found there that in itself can be an important guide and inspiration for your future adventures in C#.”
–Mads Torgersen, Program Manager, Visual C#, Microsoft
“Bill Wagner has written an excellent book outlining the best practices for developers who work with the C# language. By authoring More Effective C#, he has again established himself as one of the most important voices in the C# community. Many of us already know how to use C#. What we need is advice on how to hone our skills so that we can become wiser programmers. There is no more sophisticated source of information on how to become a first-class C# developer than Bill Wagner’s book. Bill is intelligent, thoughtful, experienced, and skillful. By applying the lessons from this book to your own code, you will find many ways to polish and improve the work that you produce.”
–Charlie Calvert, Community Program Manager, Visual C#, Microsoft
In More Effective C#, Microsoft C# MVP and Regional Director Bill Wagner introduces fifty brand-new ways to write more efficient and more robust software. This all-new book follows the same format as Wagner’s best-selling Effective C# (Addison-Wesley, 2005), providing clear, practical explanations, expert tips, and plenty of realistic code examples.
Wagner shows how to make the most of powerful innovations built into Microsoft’s new C# 3.0 and .NET Framework 3.5, as well as advanced C# language capabilities not covered in his previous book. Drawing on his unsurpassed C# experience, the author reveals new best practices for working with LINQ, generics, metaprogramming, and many other features. He also uncovers practices that compromise performance or reliability and shows exactly how to avoid them.
More Effective C# shows how to
- Use generics to express your design intent more effectively
- Master advanced generics techniques, such as constraints, method constraints, and generic specialization
- Use the multithreaded techniques you’ll need to work with the .NET framework every day
- Express modern design idioms using the rich palette of C# language features
- Successfully mix object oriented and functional programming constructs
- Create composable interfaces and avoid confusion in public interfaces
- Use extension methods to separate contracts from implementation
- Program successfully with C# closures and anonymous types
- Write more effective LINQ queries
- Make the most of LINQ Lazy Evaluation Queries and Lambda Expressions
- Distinguish and convert between delegates and expression trees
- Efficiently utilize nullable types and partial classes
- Use implicit properties for mutable, nonserializable data
You’re already a successful C# programmer–this book can help you become an outstanding one.
商品描述(中文翻譯)
“這本書深入探討 C# 3.0 的許多陰暗角落,不僅涵蓋了‘如何’使用,還解釋了‘為什麼’,為讀者提供了許多經過實地測試的方法,以充分利用新語言特性,如 LINQ、泛型和多執行緒。如果你對使用 C# 語言進行開發是認真的,你需要這本書。”
–Bill Craun, 首席顧問, Ambassador Solutions, Inc.
“More Effective C# 是與 Bill Wagner 一同工作的機會。Bill 利用他對 C# 的知識,提煉出一些非常實用的建議,關於每位認真的 Visual C# 使用者應該知道的程式設計和應用程式設計。More Effective C# 是一本罕見的書籍,它不僅僅是重複語法,而是教你 如何 使用 C# 語言。”
–Peter Ritchie, Microsoft MVP: Visual C#
“More Effective C# 是 Bill Wagner 之前書籍的極佳後續。對 C# 3.0 和 LINQ 的廣泛涵蓋非常及時!”
–Tomas Restrepo, Microsoft MVP: Visual C++, .NET, 和 Biztalk Server
“作為 C# 的現任設計者之一,透過閱讀書籍學習語言的新知識是非常罕見的。More Effective C# 是一個顯著的例外。Bill Wagner 輕柔地將具體的程式碼和深刻的見解融合在一起,經常讓我以全新的視角看待 C#——一種真正讓它閃耀的視角。More Effective C# 表面上是一系列非常有用的指導方針。再仔細看看。在閱讀過程中,你會發現自己獲得的不僅僅是單獨的建議;你會逐漸掌握一種對 C# 程式設計的思考方式,這種方式既深思熟慮又美麗,並且非常愉悅。雖然你可以隨意地瀏覽各個指導方針,但我建議你閱讀整本書——或者至少在深入特定建議之前,不要跳過章節介紹。那裡有觀點和見解,這本身就可以成為你未來在 C# 冒險中的重要指導和靈感。”
–Mads Torgersen, 程式經理, Visual C#, Microsoft
“Bill Wagner 寫了一本出色的書,概述了與 C# 語言相關的最佳實踐。通過撰寫 More Effective C#,他再次確立了自己在 C# 社群中最重要的聲音之一。許多人已經知道如何使用 C#。我們需要的是如何磨練我們的技能,以便成為更智慧的程式設計師的建議。沒有比 Bill Wagner 的書更精緻的資訊來源,教你如何成為一流的 C# 開發者。Bill 聰明、深思熟慮、經驗豐富且技術嫻熟。通過將這本書中的課程應用到自己的程式碼中,你會發現許多方法來打磨和改進你所產出的作品。”
–Charlie Calvert, 社群程式經理, Visual C#, Microsoft
在 More Effective C# 中,微軟 C# MVP 和區域總監 Bill Wagner 介紹了五十種全新的方法來編寫更高效和更穩健的軟體。這本全新的書籍遵循 Wagner 的暢銷書 Effective C# (Addison-Wesley, 2005) 的相同格式,提供清晰、實用的解釋、專家提示和大量現實的程式碼範例。
Wagner 展示了如何充分利用微軟新推出的 C# 3.0 和 .NET Framework 3.5 中內建的強大創新,以及他之前書籍中未涵蓋的高級 C# 語言功能。根據他無與倫比的 C# 經驗,作者揭示了使用 LINQ、泛型、元程式設計和許多其他特性的最佳實踐。他還揭示了妨礙性能或可靠性的做法,並準確地展示了如何避免這些問題。
More Effective C# 展示了如何
- 使用泛型更有效地表達你的設計意圖
- 精通高級泛型技術,如約束、方法約束和泛型專門化
- 使用多執行緒技術,這是你每天與 .NET 框架工作所需的
- 使用 C# 語言特性的豐富調色板表達現代設計慣用語
- 成功地混合物件導向和函數式程式設計結構
- 創建可組合的介面,避免公共介面中的混淆
- 使用擴展方法將合約與實作分開
- 成功地使用 C# 閉包和匿名類型進行程式設計
- 編寫更有效的 LINQ 查詢
- 充分利用 LINQ 延遲評估查詢和 Lambda 表達式
- 區分並轉換委派和表達式樹
- 高效利用可為空類型和部分類別
- 對於可變的、不可序列化的數據使用隱式屬性
你已經是一位成功的 C# 程式設計師——這本書可以幫助你成為一位傑出的程式設計師。