Book description
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. ..
Table of contents
- Cover Page
- Title Page
- Dedication Page
- Contents at a Glance
- Contents
- Figures
- Tables
- Foreword
- Preface
- Acknowledgments
- About the Author
- 1. Introducing C#
- 2. Data Types
- 3. More with Data Types
- 4. Operators and Control Flow
- 5. Methods and Parameters
- 6. Classes
- 7. Inheritance
-
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
- Implementing Multiple Inheritance via Interfaces
- Versioning
- Interfaces Compared with Classes
- Interfaces Compared with Attributes
- Summary
- 9. Value Types
- 10. Well-Formed Types
- 11. Exception Handling
- 12. Generics
- 13. Delegates and Lambda Expressions
- 14. Events
- 15. Collection Interfaces with Standard Query Operators
- 16. LINQ with Query Expressions
- 17. Building Custom Collections
- 18. Reflection, Attributes, and Dynamic Programming
- 19. Multithreading
- 20. Thread Synchronization
- 21. Platform Interoperability and Unsafe Code
-
22. 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
- Index
- Index of 7.0 Topics
- Index of 6.0 Topics
- Index of 5.0 Topics
- Credits
- Code Snippets
Product information
- Title: Essential C# 7.0, Sixth Edition
- Author(s):
- Release date: June 2018
- Publisher(s): Addison-Wesley Professional
- ISBN: 9781509303595
You might also like
book
Essential C# 8.0, 7th Edition
The Comprehensive, Expert Guide to C# 8.0 for Programmers at All Levels Welcome to one of …
book
Essential C# 12.0, 8th Edition
The Comprehensive, Expert Guide to C# 12.0 for Programmers at All Levels Updated for the Microsoft …
book
Head First C#, 4th Edition
What will you learn from this book? Dive into C# and create apps, user interfaces, games, …
book
C# 6 for Programmers, Sixth Edition
The professional programmer’s Deitel® guide to C# 6 and object-oriented development for Windows® Written for programmers …