C#C
C#9mo ago
Faker

✅ What is a primary constructor in C#

Hello guys, was just reading a bit about primary constructors. My question is, primary constructors is just a "fancy" way to write less code instead of declaring a whole constructor? Or are there any reasons why we would use primary constructors?
Was this page helpful?