DEV Community

Bug & Fix
Bug & Fix

Posted on

.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

Top comments (0)