C# 11 required members

November 15, 2022 3 minutes read C# 11 proposes the new keyword required that can apply to an instance property or an instance field declaration within a class, a record or a struct. [crayon-67579a6628070775858149/] This keyword forces the caller to initialize the required field and property in the object initializer scope. required init Property This … Continue reading C# 11 required members