Skip to content

C# 12.0

8 features added in C# 12.0.

Collection expressions, primary constructors, inline arrays and alias any type.

This release added 8 features, each with a before-and-after example.

Features in C# 12.0 ​

Nearby versions ​

C# 13.0 and later · C# 11.0 and earlier

Powered by Intracia