Posts about C# 15

Indexer extension members in C# 15

September 11th 2026 C# 15 C# .NET

Last year, extension members were the biggest new feature of C# 14. I wrote about them in detail in multiple blogposts. This year, extension indexers are being added to C# 15 which didn't make it into C# 14.

Collection expressions with arguments in C# 15

September 4th 2026 C# 15 C# .NET

Collection expressions were introduced in C# 12. I wrote a blog post about them at that time. In C# 15, the syntax is being extended with the ability to provide additional arguments to the underlying collection constructor or builder.

Custom union types in C# 15

August 28th 2026 C# 15 C# .NET

In the previous blog post I explored what union types bring to C#. But what does the compiler do under the hood? And do I need to know about that to fully take advantage of union types?

Union types in C# 15

August 21st 2026 C# 15 C# .NET

Continuing with the topic of switch expression exhaustiveness in C# 15, I chose union types as the next new language feature to explore.

Closed class hierarchies in C# 15

August 14th 2026 C# 15 C# .NET

The release of C# 15 is getting closer and its new features started to show up in the .NET 11 previews. That's a good time for me to take a closer look at what to expect. I'm starting with closed class hierarchies.