.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Preview Features in .NET 6 – Generic Math

If you’ve ever wanted to use operators with generic types or thought that interfaces could be improved by supporting the ability to define static methods as part of their contract, then this blog post is for you. With .NET 6 we will be shipping a preview of the new generic math and static abstracts in interfaces features.

String Interpolation in C# 10 and .NET 6

Text processing is at the heart of huge numbers of apps and services, and in .NET, that means lots and lots of . creation is so fundamental that a myriad of ways of creating them have existed since .NET Framework 1.0 was released, and more have joined the fray since. Whether via 's constructors, or , or overrides, or helper methods on like...