The default accessibility for a type is internal
, but the default accesibility of that type's members depends on the type.
Generally speaking, members of a class are private
by default, where as members of a struct are public
by default. This varies by language; default struct access modifiers for C++ are public, where as for C#, they are private.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…