nameof(List<>) works without a generic type argument in C# 14

C# 14 lets you write nameof(List<>) instead of supplying a type argument just to get the name. The result is still List.

September 12, 2026 · 2 min · Lukas Walter

Primary constructor parameters are not automatically properties

A primary constructor parameter stays a parameter. Declare a property or field when the value should be an explicit member of the type.

August 24, 2026 · 2 min · Lukas Walter