1.

Can The Accessibility Of A Type Member Be Greater Than The Accessibility Of Its Containing Type?

Answer»

No, the accessibility of a type member can never be greater than the accessibility of its containing type. For EXAMPLE, a PUBLIC METHOD declared in an INTERNAL class has only internal accessibility.

No, the accessibility of a type member can never be greater than the accessibility of its containing type. For example, a public method declared in an internal class has only internal accessibility.



Discussion

No Comment Found