Microsoft's motivation is described thus: "The ability of a class or struct in C# to have more than one constructor provides for generality, but at the expense of some tedium in the declaration syntax (my emphasis), because the constructor input and the class state need to be cleanly separated."
Primary constructors are a long-overdue addition to C#, as of version 12.
Where there is only one constructor declared (and that is most types in FotoStorio), there is now a simplified syntax available. So let's get to work.
Here's a Microsoft guide: https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/primary-constructors
Microsoft's motivation is described thus: "The ability of a class or struct in C# to have more than one constructor provides for generality, but at the expense of some tedium in the declaration syntax (my emphasis), because the constructor input and the class state need to be cleanly separated."