Blog Logo
TAGS

Check out new C# 12 preview features!

Were excited to preview three new features for C# 12: primary constructors for non-record classes and structs, using aliases for any type, and default values for lambda expression parameters. You can find detailed documentation in the Whats new in C# article on Microsoft Learn. To test out these features yourself, you can download the latest Visual Studio 17.6 preview or the latest .NET 8 preview. Find out what else is coming for developers in Announcing .NET 8 Preview 3 and other posts on the .NET blog.