Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
start:visualstudio2017:programmieren:dotnetvererbungsbaum [2023/07/17 20:48] wikiadmin |
start:visualstudio2017:programmieren:dotnetvererbungsbaum [2023/07/17 21:06] (aktuell) wikiadmin |
||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
^Access Modifier^Description^ | ^Access Modifier^Description^ | ||
|private|Member is accessible inside the type only. This is the default.| | |private|Member is accessible inside the type only. This is the default.| | ||
- | |internal| | + | |internal|Member is accessible inside the type and any type in the same assembly.| |
- | || | + | |protected|Member is accessible inside the type and any type that inherits from the type.| |
- | || | + | |public|Member is accessible every where.| |
- | || | + | |internal, protected|Memeber is accessible inside the type, any type in the same assembly, and any type that inherits from the type. Equivalent to a fictional access modifier named internal_or_protected.| |
- | || | + | |private, protected|Memeber is accessible inside the type and any type that inherits from the type and is in the same assembly. Equivalent to a fictional access modifier named internal_and_protected. This combination is only available with C# 7.2 or later.| |