What is the rule for the accessibility of construc...
# announcements
a
What is the rule for the accessibility of constructor arguments within the
init
block? If there’s more than one constructor, you can’t access any arguments? Or is it something different?
d
Init block has access to the constructor parameters of the main constructor. As do all property initializers.
👍 2
The main constructor is declared before the { of the class block.
a
Thanks
It makes sense, since secondary constructors have to call the primary one (if there’s one)