Do not throw any exceptions in property Getters (Part 2 - Exception Handling and rules for it)
Some teams use a violation of this rule to control the initialization state of the object. public class Person { private string _name; public string Name { get { if (_name == null) throw new NotInitialized...
Jun 15, 20212 min read48

