Essential C# 7.0 (6th Edition)
暫譯: 精要 C# 7.0(第六版)

Mark Michaelis

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

相關主題

商品描述

The Comprehensive, Expert Guide to C# Language Programming

 

“This book has been a classic for years, and remains one of the most venerable and trusted titles in the world of C# content, and probably far beyond! . . . Mark is super smart, insists on understanding everything to the core, and has phenomenal insight into how things affect real developers. . . . He goes right to the essence and communicates with great integrity—no sugarcoating—and has a keen eye for practical value and real-world problems.”

–Mads Torgersen, C# Program Manager, Microsoft

Essential C# 7.0 is a well-organized, no-fluff guide to C# 7.0 for programmers at all levels of experience. Reflecting the most important C# features from 3.0 through 7.0 and including modern programming patterns, it will help you write code that’s simple, powerful, robust, secure, and maintainable.

 

Author Mark Michaelis is a world-class C# expert: a long-time Microsoft MVP and Regional Director who also has served on Microsoft’s C# design review team. He presents a comprehensive tutorial and reference for the entire language, including expert coverage of key C# 7.0 enhancements, C# 7.0’s use with .NET Core/.NET Standard, and cross-platform compilation. He illustrates key C# constructs with succinct examples, and presents best-practice coding guidelines. To help you maintain existing code, separate indexes provide version-specific answers for C# 5.0, 6.0, and 7.0, and visual icons show when each language innovation was introduced.

  • Make the most of C# 7.0 enhancements, including tuples, deconstructors, pattern matching, local functions, and ref returns
  • Work efficiently with C# data types, operators, control flow, methods, and parameters
  • Write more robust code with C# object-oriented constructs
  • Implement reliable, effective exception handling
  • Reduce code complexity with generics, delegates, lambda expressions, and events
  • Leverage advanced dynamic and declarative programming techniques
  • Query diverse data collections using LINQ with query expressions
  • Create custom collections that operate against business objects
  • Access .NET collections via collection interfaces and standard query operators
  • Master multithreading and synchronization, including the async/await paradigm
  • Optimize performance and interoperability with P/Invoke and unsafe code
  • Run your code on Linux or macOS with C# 7.0 cross-platform compilation
  • Includes C# 7.1, 7.2, and 7.3 language enhancements

This guide offers you a complete foundation for successful development with modern versions of the C# language in any project or environment.

 

商品描述(中文翻譯)

全面專業的 C# 語言程式設計指南


 

“這本書多年來一直是經典,並且仍然是 C# 內容領域中最受尊敬和信賴的書籍之一,甚至可能超越這個範疇!……Mark 非常聰明,堅持深入理解每一個細節,對於事物如何影響真正的開發者有著非凡的洞察力……他直指本質,並以極大的誠信進行溝通——沒有粉飾——對實用價值和現實問題有著敏銳的眼光。”

–Mads Torgersen,微軟 C# 程式經理


Essential C# 7.0 是一本組織良好、內容精簡的 C# 7.0 指南,適合各個經驗水平的程式設計師。這本書反映了從 3.0 到 7.0 的最重要 C# 特性,並包括現代程式設計模式,將幫助您編寫簡單、強大、穩健、安全且可維護的程式碼。

 

作者 Mark Michaelis 是一位世界級的 C# 專家:長期擔任微軟 MVP 和區域總監,並曾在微軟的 C# 設計審查團隊中任職。他提供了整個語言的全面教程和參考,包括對 C# 7.0 重要增強功能的專業介紹、C# 7.0 在 .NET Core/.NET Standard 中的使用,以及跨平台編譯。他用簡潔的範例說明了關鍵的 C# 構造,並提供最佳實踐的編碼指南。為了幫助您維護現有程式碼,分開的索引提供了 C# 5.0、6.0 和 7.0 的版本特定答案,並用視覺圖示顯示每個語言創新何時被引入。


  • 充分利用 C# 7.0 的增強功能,包括元組、解構器、模式匹配、局部函數和 ref 返回

  • 高效地使用 C# 數據類型、運算符、控制流程、方法和參數

  • 使用 C# 面向對象的構造編寫更穩健的程式碼

  • 實現可靠且有效的異常處理

  • 通過泛型、委託、Lambda 表達式和事件減少程式碼複雜性

  • 利用高級動態和聲明式程式設計技術

  • 使用 LINQ 和查詢表達式查詢多樣的數據集合

  • 創建針對業務對象運作的自定義集合

  • 通過集合介面和標準查詢運算符訪問 .NET 集合

  • 掌握多線程和同步,包括 async/await 範式

  • 通過 P/Invoke 和不安全程式碼優化性能和互操作性

  • 使用 C# 7.0 跨平台編譯在 Linux 或 macOS 上運行您的程式碼

  • 包括 C# 7.1、7.2 和 7.3 語言增強功能

本指南為您提供了在任何項目或環境中成功開發現代版本 C# 語言的完整基礎。