Showing results for c# 12 - .NET Blog

May 8, 2024
Post comments count14
Post likes count17

Refactor your code with C# collection expressions

David Pine
David Pine

Explore various C# 12 refactoring scenarios for a variety of target types using collection expressions, collection initializers, and the spread syntax.

.NETC#
Nov 14, 2023
Post comments count12
Post likes count25

Announcing C# 12

Kathleen Dollard
Kathleen Dollard

Announcing the official release of C# 12, including collection expressions, primary constructors, and more!

.NETC#
Jul 11, 2023
Post comments count34
Post likes count13

New C# 12 preview features

Kathleen Dollard
Kathleen Dollard

.NET 8 Preview 6 adds three new features for C# 12: interceptors, inline arrays, and enhancements to the nameof expression.

.NETC#
Apr 11, 2023
Post comments count71
Post likes count20

Check out new C# 12 preview features!

Kathleen Dollard
Kathleen Dollard

The first set of C# 12 features are here in preview including primary constructors, using aliases, and lambda expression parameters.

.NETC#