.NET Preview 5 Improves C#
Written by Mike James   
Monday, 16 June 2025

.NET 10 Preview 5 has been released with enhancements to C# 14 and additions to the Post-Quantum Cryptography (PQC) library. The .NET runtime has also been improved.

.NET, which is open source, was created from a combination of .NET Framework and .NET Core and C# is its primary language.

net2

C# 14 developers can now make use of user-defined compound assignment operators so the operator modifies the target in place rather than creating copies.

F# has also been updated including scoped #nowarn/#warnon. The FSharp.Core standard library changes provide a better performance for string functions when dealing with enums and signed integer types, and improvements to the random functions introduced with F# 9.

The Post-Quantum Cryptography (PQC) library now includes support for three new asymmetric algorithms: ML-KEM, ML-DSA and SLH-DSA. ML-KEM, the Module Lattice-Based Key-Encapsulation Mechanism, is a cryptographic standard for establishing shared secret keys in a secure manner. ML-DSA, Module-Lattice-Based Digital Signature Algorithm, is a post-quantum cryptography digital signature scheme designed to resist attacks from quantum computers; while the StateLess Hash-based Digital Signature Algorithm (SLH-DSA) is a standard for demonstrating the validity of a digital signature. 

With regards to improvements to the .NET runtime, this preview extends the JIT compiler's escape analysis implementation to model delegate invokes. When compiling source code to intermediate language, each delegate is transformed into a closure class with a method corresponding to the delegate's definition, and fields matching any captured variables.

Inlining improvements have also further enhanced the JIT's inlining policy to take better advantage of profile data. The developers say there are numerous heuristics, including a change sothe JIT's inliner will not consider methods over a certain size to avoid bloating the caller method. 

.NET 10 Preview 5 is available for download now.

net2

  • Mike James is the author of Deep C#: Dive Into Modern C#, in which he provides a “deep dive” into various topics that are important or central to the language.

More Information

 .NET 10 Preview 5 Download

Related Articles

Visual Studio 2022 v17.12 Preview 1 With .NET 9

.NET 9 Preview 6 Improves ARM64 Code Generation

.NET Celebrates 20th Anniversary of Launch

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Two Tools To Elevate Your MongoDB Experience
03/07/2025

The tools contradict each other; the first one allows you to write SQL instead of using Mongo's special syntax, while the other allows you to manipulate the database without having to write SQL a [ ... ]



Jakarta EE 11 Modernises Test Kits
26/06/2025

The Eclipse Foundation has announced the general availability of the Jakarta EE 11 Platform. This release has modernised Test Compatibility Kits (TCKs), and introduces the Jakarta Data speci [ ... ]


More News

pico book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 16 June 2025 )