Essential C# 6.0, 5/e (Paperback)

Mark Michaelis, Eric Lippert

買這商品的人也買了...

商品描述

 

“ Welcome to one of the greatest collaborations you could dream of in the world of C# books—and probably far beyond!”

—From the Foreword by Mads Torgersen, C# Program Manager, Microsoft

 

Essential C# 6.0 is a well-organized, no-fluff guide to the latest versions of C# for programmers at all levels of experience. Fully updated to reflect new C# 6.0 and .NET 4.6 features and patterns, it will help you write C# code that’s simple, powerful, robust, secure, and maintainable.

 

This book’s authors are world-class C# experts: long-time Microsoft MVP and Regional Director Mark Michaelis and Eric Lippert, formerly principal developer on Microsoft’s C# compiler team. Together, they cover the entire language, illustrating key constructs with succinct examples and offering a complete foundation for successful C# development.

 

Essential C# 6.0 makes it easy to program with any version of C#, whether you’re creating new code or maintaining existing systems. Separate indexes for C# versions 4, 5, and 6 help you quickly find version-specific answers with accompanying visual indicators that help you identify which language innovations will work when. This edition also includes a set of best-practice C# Coding Guidelines updated to leverage C# 6.0 constructs.

 

Coverage includes

  • Mastering C# data types, operators, control flow, methods, and parameters
  • Using C# object-oriented constructs, including classes, inheritance, interfaces, and more—all with the significantly simplified syntax of C# 6.0
  • Working with well-formed value and reference types
  • Implementing reliable, effective exception handling
  • Reducing code complexity with generics, delegates, lambda expressions, and events (including a simplified C# 6.0 syntax for triggering events)
  • Learning dynamic programming with reflection and attributes
  • Querying diverse data collections using LINQ with query expressions
  • Creating custom collections that operate against business objects
  • Using collection interfaces and standard query operators to access .NET collections
  • Understanding the Common Language Infrastructure and C# in the context of .NET 4.6
  • Taking advantage of declarative programming, embedded metadata, reflection, and attributes
  • Mastering multithreading and synchronization, including the new async/await paradigm
  • Using P/Invoke, pointers, and direct memory manipulation to interoperate with other languages
  • Understanding how C# programs relate to the underlying runtime

 

For Qualified Instructors

An instructor’s guide, exercises, and a slide deck are available to support your courses.

 

商品描述(中文翻譯)

「歡迎來到C#書籍世界中最棒的合作之一,也可能是更遠的地方!」- Mads Torgersen, C#程式經理, Microsoft

《Essential C# 6.0》是一本組織良好、不浮誇的指南,針對各種程式設計經驗的程式設計師,介紹最新版本的C#。全面更新以反映新的C# 6.0和.NET 4.6的功能和模式,幫助您撰寫簡單、強大、穩健、安全和可維護的C#程式碼。

這本書的作者是世界級的C#專家:長期擔任Microsoft MVP和區域總監的Mark Michaelis和曾是Microsoft C#編譯器團隊的主要開發人員Eric Lippert。他們共同涵蓋了整個語言,用簡潔的例子說明關鍵結構,為成功的C#開發提供完整的基礎。

《Essential C# 6.0》使您能夠輕鬆地使用任何版本的C#進行編程,無論是創建新代碼還是維護現有系統。針對C#版本4、5和6的分開索引,幫助您快速找到特定版本的答案,並附帶視覺指示,幫助您識別哪些語言創新在何時適用。本版還包括一套最佳實踐的C#編碼指南,更新以利用C# 6.0的結構。

內容包括:

- 掌握C#的數據類型、運算符、控制流、方法和參數
- 使用C#的面向對象構造,包括類、繼承、接口等,並使用C# 6.0的簡化語法
- 使用良好定義的值類型和引用類型
- 實現可靠、有效的異常處理
- 通過泛型、委託、Lambda表達式和事件(包括簡化的C# 6.0語法觸發事件)減少代碼複雜性
- 使用反射和屬性進行動態編程
- 使用LINQ和查詢表達式查詢各種數據集合
- 創建針對業務對象操作的自定義集合
- 使用集合接口和標準查詢運算符訪問.NET集合
- 在.NET 4.6的背景下理解公共語言基礎結構和C#
- 利用聲明式編程、嵌入式元數據、反射和屬性
- 掌握多線程和同步,包括新的async/await範式
- 使用P/Invoke、指針和直接內存操作與其他語言互操作
- 了解C#程式與底層運行時的關係

對於合格的教師:

提供教師指南、練習和投影片,以支持您的課程。