C# 12
Constructor order changes
SGSteven Giesel
Oct 26
Primary constructors are more than syntactic sugar
Switching from a regular constructor to a primary constructor can change when fields get their values. The difference matters when a base constructor calls a virtual member. Steven Giesel shows the difference by looking at the code the compiler generates.