Class C# Tutorial

Modifier           Applies To                                           Description
public             Any types or members                                 visible to any other code.
protected          Any member of a type, also any nested type           visible only to any derived type.
internal           Any member of a type, also any nested type           visible only within its containing assembly.
private            Any types or members                                 visible only inside the type to which it belongs.
protected internal Any member of a type, also any nested type           visible to any code within its containing assembly and also to any code inside a derived type.