Glossary: C# Beyond the Basics
object initializer
Braces after `new()` that set properties by name, such as `new() { Name = "Rose City Pottery" }`. It is the only place `init` and `required` properties can be set.
Glossary: C# Beyond the Basics
Braces after `new()` that set properties by name, such as `new() { Name = "Rose City Pottery" }`. It is the only place `init` and `required` properties can be set.