| |
|
Accessibility Levels for class,enum,struct,interface Question Posted on 23 Aug 2011 Home >> DotNet >> C# >> Accessibility Levels for class,enum,struct,interface |
Below table helps to understand what are the different member default accessibility and what accessibility they can opt and what they cannot opt.
MemberType | Default accessibility | Allowed accessibility | enum | public | None | class | private | public protected
internal private protected internal | interface | public | None | struct | private | public internal private |
| |
|
|
|
|