Scope modifiers: Difference between revisions
Content added Content deleted
m (Updated for C# 7.2) |
m (C# minor edit) |
||
Line 311: | Line 311: | ||
//private | Y | N | N | N |
//private | Y | N | N | N |
||
// C# 7.2: |
// C# 7.2: |
||
//private protected | Y | |
//private protected | Y | intersection | N</lang> |
||
If no modifier is specified, it defaults to the most restrictive one.<br/> |
If no modifier is specified, it defaults to the most restrictive one.<br/> |
||
In case of top-level classes/structs/interfaces/enums this means internal, otherwise it means private. |
In case of top-level classes/structs/interfaces/enums this means internal, otherwise it means private. |