Validation of a C# object initialized with init-only setters

前端 未结 0 1812
南方客
南方客 2020-12-19 13:04

C# 9 introduces an option to initialize immutable object with object initializer syntax, using init only setters:

class         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题