Access Modifiers

Accessibility

Meaning

public Access is not restricted.
protected Access is limited to the containing class or types derived from the containing class.
internal Access is limited to the current assembly.
protected internal Access is limited to the current assembly or types derived from the containing class.
private Access is limited to the containing type.
 
 

Default

Modifiers Allowed declared accessibility of the member
enum public   None
class private new, abstract, sealed, public, protected, internal, private, protected internal public, protected, internal, private, protected internal
interface public new, Public, Friend, Protected, or Private. None
struct private   public, internal, private

delegate

 

new, Public, Friend, Protected, or Private.