[Tip: default access modifier]

Things declared outside of a class or struct will default to internal (When you define a data type of some kind (class, struct, enum, etc.) you need not specify an access modifier, but be aware that the default will be internal. ).

Things declared inside of a class or struct will default to private.

你可能感兴趣的:(Modifier)