C# supports the following access modifiers.
| Access modifier | Meaning |
|---|---|
| public | Accessible anywhere; |
| internal | Accessible only within its assembly or friend assemblies; |
| private | Visible only within its own type; |
| protected | Visible only within containing type or subclasses |
| protected internal | The union of protected and internal accessibility |
interal is the default for non-nested types.
public is implicit for members of an enum or interface type
private is the default for members of a class or struct
| w___ww__.__j_a__v_a_2___s.__c__o_m__ | Contact Us |
| Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
| All other trademarks are property of their respective owners. |