وبلاگ بلیان

Essential C# 8.0 (7th Edition) (Addison-Wesley Microsoft Technology Series)

جلد کتاب Essential C# 8.0 (7th Edition) (Addison-Wesley Microsoft Technology Series)

معرفی کتاب «Essential C# 8.0 (7th Edition) (Addison-Wesley Microsoft Technology Series)» نوشتهٔ Lewis Dartnell و Mark Michaelis، منتشرشده توسط نشر Addison-Wesley Professional در سال 2020. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

«Essential C# 8.0» نوشتهٔ مارک مایکلیس، یکی از معتبرترین و جامع‌ترین منابع برای یادگیری زبان برنامه‌نویسی #C به شمار می‌رود. این کتاب که توسط انتشارات Addison-Wesley Professional منتشر شده است، با رویکردی بی‌پیرایه و ساختاریافته، برنامه‌نویسان را در تمام سطوح با جدیدترین ویژگی‌های این زبان، از جمله به‌روزرسانی‌های نسخهٔ٫۰، آشنا می‌کند. تسلط عمیق نویسنده بر زبان #C و همکاری او با تیم طراحی مایکروسافت، این اثر را به مرجعی بی‌نظیر برای تبدیل شدن به یک برنامه‌نویس حرفه‌ای در این حوزه تبدیل کرده است.

دربارهٔ کتاب Essential C# 8.0 —

کتاب «Essential C# 8.0» یک راهنمای آموزشی و در عین حال مرجعی کامل برای زبان برنامه‌نویسی #C است که به ویژه بر روی ویژگی‌های کلیدی نسخهٔ٫۰ تمرکز دارد. نویسنده، با تکیه بر تجربهٔ بالینی خود، مفاهیم بنیادین مانند سازه‌های برنامه‌نویسی ساخت‌یافته، انواع داده، و کنترل جریان را به زبانی ساده و روان آموزش می‌دهد و سپس به مباحث پیشرفته‌تری چون برنامه‌نویسی غیرهمزمان (Asynchronous Programming)، الگوهای تطبیق (Pattern Matching)، و کار با مجموعه‌ها می‌پردازد. سبک نوشتار کتاب بسیار شفاف و بی‌حاشیه است و مثال‌های مختصر و مفیدی برای هر مبحث ارائه شده است. یکی از نقاط قوت این کتاب، جداول راهنمای نسخه‌ها و نمادهای بصری است که به خواننده کمک می‌کند تا به سرعت متوجه شود هر ویژگی در کدام نسخه از #C معرفی شده است، که این امر برای به‌روز ماندن با روند تکامل زبان بسیار حیاتی است.

دربارهٔ نویسنده

نویسندهٔ این کتاب، مارک مایکلیس، یکی از برجسته‌ترین متخصصان دنیای #C و بنیان‌گذار شرکت IntelliTect است. او برای بیش از دو دهه، عنوان ارزشمند «متخصص ارزش‌مند مایکروسافت» (Microsoft MVP) را در اختیار داشته و از سال ۲۰۰۷ به عنوان «مدیر منطقه‌ای مایکروسافت» (Microsoft Regional Director) فعالیت می‌کند. سابقهٔ حضور مایکلیس در تیم‌های طراحی و بازبینی نرم‌افزارهای مایکروسافت، از جمله خود زبان #C، به اعتبار فنی این کتاب افزوده است. او همچنین مدرس کنفرانس‌های معتبر بین‌المللی و نویسندهٔ مقالات و کتاب‌های متعددی است. پیشگفتار این کتاب توسط مدس تورگرسن، طراح اصلی زبان #C در مایکروسافت، نوشته شده است که نشان‌دهندهٔ جایگاه والای این اثر در جامعهٔ توسعه‌دهندگان است.

چرا باید Essential C# 8.0 را بخوانید؟

مطالعهٔ این کتاب، دریچه‌ای از دانش عملی و تئوری را به روی برنامه‌نویسان می‌گشاید که در هیچ منبع دیگری به این جامعی یافت نمی‌شود. در زیر به برخی از مهم‌ترین دستاوردهای خواندن این کتاب اشاره می‌شود:
  • شروع سریع و اصولی: با استفاده از سازه‌های برنامه‌نویسی ساختاریافته، بلافاصله پس از مطالعهٔ فصل‌های ابتدایی قادر به نوشتن کدهای کاربردی و صحیح خواهید بود.
  • درک عمیق از جدیدترین ویژگی‌ها: با مفاهیم پیچیده و راه‌حل‌های مرتبط با انواع مرجع قابل‌تهی (Nullable Reference Types)، ایندکس‌ها و بازه‌ها (Indices and Ranges)، و جریان‌های ناهمگام (Asynchronous Streams) در #C.0 به طور کامل آشنا می‌شوید.
  • تسلط بر مفاهیم شی‌گرایی: مفاهیم بنیادین و پیشرفته‌ی برنامه‌نویسی شی‌گرا شامل کلاس‌ها، وراثت، و رابط‌ها (Interfaces) را به شکلی ژرف و کاربردی فرا می‌گیرید.
  • افزایش بهره‌وری و کیفیت کد: با بهره‌گیری از دستورالعمل‌های به‌روز کدنویسی، یاد می‌گیرید که کدی بنویسید که نه تنها کارآمدتر است، بلکه اشکال‌زدایی و توسعه‌ی آن در آینده نیز بسیار آسان‌تر خواهد بود.
  • برنامه‌نویسی همزمان و موازی: مهارت‌های خود را در زمینهٔ چندرشته‌ای (Multithreading) و پردازش موازی داده‌ها با استفاده از الگوی Async و جریان‌های ناهمگام #C.0 به سطح بالایی ارتقا می‌دهید.

این کتاب برای چه کسانی مناسب است؟

این کتاب یک منبع بی‌نظیر برای طیف گسترده‌ای از برنامه‌نویسان است. تازه‌کارانی که هیچ آشنایی با #C ندارند، می‌توانند با مفاهیم پایه شروع کرده و گام‌به‌گام پیش بروند. در عین حال، توسعه‌دهندگان باتجربه‌ای که با نسخه‌های قدیمی‌تر این زبان کار کرده‌اند، مطالب پیشرفتهٔ کتاب، به‌ویژه بخش‌های مربوط به نسخهٔ٫۰، را بسیار ارزشمند خواهند یافت تا دانش خود را به‌روز کنند. همچنین، برنامه‌نویسانی که از زبان‌های دیگر مانند جاوا یا ++C به سوی #C می‌آیند، این کتاب را به دلیل پوشش کامل مبانی و نیز تفاوت‌های ظریف زبان، منبعی ایده‌آل برای انتقال مهارت‌های خود می‌یابند.

سوالات متداول

آیا این کتاب برای یادگیری #C از صفر مناسب است؟

بله، این کتاب با وجود پوشش مباحث پیشرفته، به عنوان یک راهنمای جامع از سطح مقدماتی شروع می‌کند و مفاهیم پایه مانند متغیرها، عملگرها، و ساختارهای کنترلی را به طور کامل توضیح می‌دهد. ساختار گام‌به‌گام آن، منبعی عالی برای مبتدیان است.

آیا مطالب این کتاب تنها به نسخهٔ٫۰ محدود می‌شود؟

خیر، این کتاب مرجعی کامل برای کل زبان #C است و تمامی مفاهیم اساسی را پوشش می‌دهد. با این حال، یکی از نقاط قوت آن، تمرکز ویژه بر روی ویژگی‌های جدید و بهبودهای ایجادشده در نسخهٔ٫۰ است و با استفاده از نمادها و فهرست‌های جداگانه، به شما کمک می‌کند تا نوآوری‌های هر نسخه را به راحتی تشخیص دهید.

آیا مثال‌های کتاب کاربردی و واقعی هستند؟

بله، رویکرد اصلی کتاب بر ارائهٔ مثال‌های مختصر، گویا و در عین حال کاربردی است که هر مفهوم را به وضوح نمایش می‌دهد. هدف نویسنده، آموزش مفاهیم به شکلی است که بتوانید آن‌ها را بلافاصله در پروژه‌های واقعی خود به کار بگیرید و از نوشتن کدهای تئوری و بی‌کاربرد پرهیز کند.

**Essential C# 8.0** is a well-organized, no-fluff guide to C# 8.0 for programmers at all levels of experience. Reflecting the most important C# features, 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# 8.0 enhancements. He illustrates key C# constructs with succinct examples, and presents best-practice coding guidelines. Halftitle Page Title Page Copyright Page Dedications Page Contents List of Figures List of Tables Foreword Preface Acknowledgments [This content is currently in development.] About the Author [This content is currently in development.] 1. Introducing C# Hello, World C# Syntax Fundamentals Working with Variables Console Input and Output Managed Execution and the Common Language Infrastructure Multiple .NET Frameworks Summary 2. Data Types Fundamental Numeric Types More Fundamental Types Conversions between Data Types Summary 3. More with Data Types Categories of Types Declaring Types That Allow Null Implicitly Typed Local Variables Tuples Arrays Summary 4. Operators and Flow Control Operators Introducing Flow Control Code Blocks ({}) Code Blocks, Scopes, and Declaration Spaces Boolean Expressions Programming with Null Bitwise Operators (< >, |, &, ^, ~) Control Flow Statements, Continued Jump Statements C# Preprocessor Directives Summary 5. Methods and Parameters Calling a Method Declaring a Method The using Directive Returns and Parameters on Main() Advanced Method Parameters Recursion Method Overloading Optional Parameters Basic Error Handling with Exceptions Summary 6. Classes Declaring and Instantiating a Class Instance Fields Instance Methods Using the this Keyword Access Modifiers Properties Constructors Non-Nullable Reference Type Properties with Constructors Nullable Attributes Deconstructors Static Members Extension Methods Encapsulating the Data Nested Classes Partial Classes Summary 7. Inheritance Derivation Overriding the Base Class Abstract Classes All Classes Derive from System.Object Pattern Matching with the is Operator Pattern Matching within a switch Expression Avoid Pattern Matching When Polymorphism is Possible Summary 8. Interfaces Introducing Interfaces Polymorphism through Interfaces Interface Implementation Converting between the Implementing Class and Its Interfaces Interface Inheritance Multiple Interface Inheritance Extension Methods on Interfaces Versioning Extension Methods versus Default Interface Members Interfaces Compared with Abstract Classes Interfaces Compared with Attributes Summary 9. Value Types Structs Boxing Enums Summary 10. Well-Formed Types Overriding object Members Operator Overloading Referencing Other Assemblies Encapsulation of Types Defining Namespaces XML Comments Garbage Collection Resource Cleanup Lazy Initialization Summary 11. Exception Handling Multiple Exception Types Catching Exceptions Rethrowing an Existing Exception General Catch Block Guidelines for Exception Handling Defining Custom Exceptions Rethrowing a Wrapped Exception Summary 12. Generics C# without Generics Introducing Generic Types Constraints Generic Methods Covariance and Contravariance Generic Internals Summary 13. Delegates and Lambda Expressions Introducing Delegates Declaring Delegate Types Lambda Expressions Statement Lambdas Anonymous Methods Delegates Do Not Have Structural Equality Outer Variables Expression Trees Summary 14. Events Coding the Publish-Subscribe Pattern with Multicast Delegates Understanding Events Summary 15. Collection Interfaces with Standard Query Operators Collection Initializers What Makes a Class a Collection: IEnumerable Standard Query Operators Anonymous Types with LINQ Summary 16. LINQ with Query Expressions Introducing Query Expressions Query Expressions Are Just Method Invocations Summary 17. Building Custom Collections More Collection Interfaces Primary Collection Classes Providing an Indexer Returning Null or an Empty Collection Iterators Summary 18. Reflection, Attributes, and Dynamic Programming Reflection nameof Operator Attributes Programming with Dynamic Objects Summary 19. Introducing Multithreading Multithreading Basics Asynchronous Tasks Canceling a Task Working with System.Threading Summary 20. Programming the Task-Based Asynchronous Pattern Synchronously Invoking a High-Latency Operation Asynchronously Invoking a High-Latency Operation Using the TPL The Task-based Asynchronous Pattern with async and await Introducing async Return of ValueTask Asynchronous Streams IAsyncDisposable and the await using declaration and statement Using LINQ with IAsyncEnumerable Returning void from an Asynchronous Method Asynchronous Lambdas and Local Functions Task Schedulers and the Synchronization Context async/await with the Windows UI Summary 21. Iterating in Parallel Executing Loop Iterations in Parallel Running LINQ Queries in Parallel Summary 22. Thread Synchronization Why Synchronization? Timers Summary 23. Platform Interoperability and Unsafe Code Platform Invoke Pointers and Addresses Executing Unsafe Code via a Delegate Summary 24. The Common Language Infrastructure Defining the Common Language Infrastructure CLI Implementations .NET Standard Base Class Library C# Compilation to Machine Code Runtime Assemblies, Manifests, and Modules Common Intermediate Language Common Type System Common Language Specification Metadata .NET Native and Ahead of Time Compilation Summary "Essential C# 8.0 is a well-organized guide to C# 8.0 for programmers at all levels of experience. Reflecting the most important C# features, it helps programmers write code that is 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# 8.0 enhancements. He illustrates key C# constructs with succinct examples, and presents best-practice coding guidelines"-- Provided by publisher
دانلود کتاب Essential C# 8.0 (7th Edition) (Addison-Wesley Microsoft Technology Series)