.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


Alan Turing's Papers Raise A Fortune
23/06/2025

Because so much of his work was top secret, Alan Turing was very much an unsung hero during his lifetime. Recognition of his many achievements dawned gradually and now his reputation is worldwide [ ... ]



Chinese Robots Play Three-a-Side Soccer
06/07/2025

Four teams of humanoid robots faced off in fully autonomous 3-on-3 soccer matches in the latest event organized to showcase China’s advances in humanoid robot technology. It was the first such compe [ ... ]


More News

pico book

 

Comments




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

<ASIN:B0D6LZZQ8R>

Last Updated ( Monday, 16 June 2025 )