• Fri. Mar 28th, 2025

Microsoft .NET 10 Preview 2 shines on C#, runtime, encryption

By

Mar 21, 2025



Also in .NET Preview 2, C# 14 rounds out the set of partial members by adding partial instance constructors and partial events. These new partial member types join partial methods and partial properties that were added in C# 13. Partial members let one part of a class declare a member, which can then be implemented in another part of the same class, often in a different file. Partial members often are used by source generators.

As for .NET runtime improvements, Preview 2 continues an effort to enhance the JIT compiler’s devirtualization capabilities for array interface methods. This effort was started in Preview 1 and continues with additional improvements and optimizations.

Elsewhere in .NET 10 Preview 2:



Source link