C# 13 and .NET 9: What's New - C# language

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:

https://devblogs.microsoft.com/dotnet/csharp-13-explore-preview-features/#update-on-extension-types

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/

I agree

Like
Reply
Luís Gabriel N. Simas

Lifelong Learner | Senior Software Engineer | System Architect | Full-Stack Specialist | Expert in Cloud, AI/ML, .NET, and Microservices

9mo

Great! Yet in my Reading List from Packt

Like
Reply
Anton Martyniuk

Helping 50K+ Software Engineers Improve .NET Skills and Craft Better Software | Microsoft MVP | Technical Lead

9mo

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

To view or add a comment, sign in

Others also viewed

Explore topics