.NET 8 - C#12 - Primary Constructors

.NET 8 - C#12 - Primary Constructors

Beginning in C# 12, you can declare a primary constructor in classes and structs. You place any parameters in parentheses following the type name