Book description
C# is undeniably one of the most versatile programming languages available to engineers today. With this comprehensive guide, you'll learn just how powerful the combination of C# and .NET can be. Author Ian Griffiths guides you through C# 12.0 and .NET 8 fundamentals and techniques for building cloud, web, and desktop applications.
Designed for experienced programmers, this book provides many code examples to help you work with the nuts and bolts of C#, such as generics, LINQ, and asynchronous programming features. You'll get up to speed on .NET 8 and the latest C# 11.0 and 12.0 additions, including generic math, new polymorphism options, enhanced pattern matching, and new features designed to improve productivity.
This book helps you:
- Understand how .NET has changed in recent releases and learn what it means for application development
- Select the appropriate C# language features for any task
- Learn when to use the new features and when to stick with older ones
- Examine the range of functionality in .NET's class libraries
- Apply these class libraries to practical programming tasks
- Explore numerous small additions to .NET that improve expressiveness
Publisher resources
Table of contents
- Preface
- 1. Introducing C#
- 2. Basic Coding in C#
- 3. Types
- 4. Generics
- 5. Collections
-
6. Inheritance
- Inheritance and Conversions
- Interface Inheritance
- Generics
- Covariance and Contravariance
- System.Object
- The Ubiquitous Methods of System.Object
- Accessibility and Inheritance
- Virtual Methods
- Sealed Methods and Classes
- Accessing Base Members
- Inheritance and Construction
- Record Types
- Records, Inheritance, and the with Keyword
- Special Base Types
- Summary
- 7. Object Lifetime
- 8. Exceptions
- 9. Delegates, Lambdas, and Events
- 10. LINQ
- 11. Rx: Reactive Extensions
- 12. Assemblies and Deployment
- 13. Reflection
- 14. Attributes
- 15. Files and Streams
- 16. Multithreading
- 17. Asynchronous Language Features
- 18. Memory Efficiency
- Index
- About the Author
Product information
- Title: Programming C# 12
- Author(s):
- Release date: June 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098158361
You might also like
book
Programming C# 10
C# is undeniably one of the most versatile programming languages available to engineers today. With this …
book
C# 12 in a Nutshell
When you have questions about C# 12 or .NET 8, this best-selling guide has the answers …
book
Head First C#, 4th Edition
What will you learn from this book? Dive into C# and create apps, user interfaces, games, …
book
C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals - Eighth Edition
An accessible guide for beginner-to-intermediate programmers to the concepts, real-world applications, and latest features of C# …