Metainformationen zur Seite
  •  

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
start:visualstudio2017:programmieren:dotnetvererbungsbaum [2023/07/17 20:39]
wikiadmin
start:visualstudio2017:programmieren:dotnetvererbungsbaum [2023/07/17 21:06] (aktuell)
wikiadmin
Zeile 1: Zeile 1:
 ====== Class Access Modifiers ====== ====== Class Access Modifiers ======
  
-^x1^x2^x3+^Access Modifier^Description
-|<flow>graph TD; A-->B</flow>|<file - example.txt> +|private|Member is accessible inside the type onlyThis is the default.| 
-graph TD; +|internal|Member is accessible inside the type and any type in the same assembly.| 
-A-->B; +|protected|Member is accessible inside the type and any type that inherits from the type.| 
-</file>|graph TD ((TD = Top Down)) zeichnet von oben nach unten.| +|public|Member is accessible every where.| 
-|<flow>+|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.|