C# 13 and .NET 9: What's New - C# language
This article is about the new features in the C# 13 language. To use the C# 13 compiler you must install .NET SDK 9. You can continue to target .NET 8 in your projects for long-term support.
Extension Types postponed
Sadly, the biggest new feature planned for C# 13, Extension Types, was postponed. You can read more about this future feature at the following link:
C# 13 new features: params, \e, and partial properties
Three refinements in C# 13 that provide more flexibility and simplicity are:
Exceptions are now 2-4x faster. This benefit does not require any changes to your code so you get the benefits automatically.
You can read the official list of all new features at the following link: What's new in C# 13
Summary
C# 13 and .NET 9 add many other new features. Learn about them in the latest edition of my book, C# 13 and .NET 9 - Modern Cross-Platform Development Fundamentals, coming on November 12, 2024. https://www.amazon.com/13-NET-Cross-Platform-Development-Fundamentals/dp/183588122X/
Microsoft will release .NET 9 at .NET Conf 2024. https://www.dotnetconf.net/
.net developer
2 周I agree
Lifelong Learner | Senior Fullstack Software Engineer | Founder & CTO | Expert in Cloud, AI/ML, .NET, and Microservices
3 周Great! Yet in my Reading List from Packt
Tech Lead | Follow Me to Advance Your Career in .NET and Software Architecture
3 周Wow, this book came out even faster than the actual release of Net 9. Well done, I really like your books. Across all books about modern NET and ASP NET development, yours are the top ones I would everyone recommend to read
Author of multiple .NET programming books
3 周The book is available to preorder on Amazon: https://www.amazon.com/13-NET-Cross-Platform-Development-Fundamentals/dp/183588122X/