Initialization

When instantiating a class, the instance and its properties can be initialized in several ways. Those initialization cases and their order are described as follows:

Properties defined within a class's primary constructor are initialized first. Class-level property assignments and initializer blocks are handled next. The last chance to initialize the class and its properties is in the secondary constructors.