3 ms·
It was unclear to me from the article, if you don't set an init property during construction, does it get default value or compiler error?
by 0xcoffee 6y ago
It was unclear to me from the article, if you don't set an init property during construction, does it get default value or compiler error?
- aliswe 6y agoDefault value, just like if you do { get; private set; } and never set it, or just { get; } and never do.