Three new features for C# 12 are available in the latest .NET 8 and Visual Studio 17.6 previews. Microsoft, with the latest preview of its planned .NET 8 software development platform, is highlighting ...
C# 12 arrived in November with .NET 8, bringing several new features—primary constructors, collection expressions, inline arrays, and more—that make it simpler and easier to write more efficient code.