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

回复
Luis Gabriel N. Simas

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

回复
Anton Martyniuk

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

Mark J. Price

Author of multiple .NET programming books

3 周

要查看或添加评论,请登录

社区洞察

其他会员也浏览了