Saturday, April 2, 2016

Accessibility of Modifier in C#


within assembly
                   
                  
                
    outside assembly
with inheritance
without inheritance
    with inheritance
without inheritance
public
Yes
Yes
Yes
Yes
private
No
No
No
No
protected
Yes
No
yes
No
internal
yes
Yes
No
No
protected internal
Yes
Yes
Yes
No
         



































No comments:

Post a Comment