Level 4 — Classes
Members access modifiers
Original notes by SunDiaL · View English source
Similar to class access modifiers, member access modifiers are keywords that allow you to control who has access to the members of that class. They are
public-> members can be accessed from anywhereinternal-> members can be accessed only from the containing projectprivate-> members can be accessed only from the containing class