.NET 8 - C#12 - Primary Constructors

Bug And FixBug And Fix
1 min read

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

0
Subscribe to my newsletter

Read articles from Bug And Fix directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Bug And Fix
Bug And Fix

Software development especially the .NET stack is our hobby, but we talk about everything related to technology..