Access Modifier | Description |
---|---|
private | Member is accessible inside the type only. This is the default. |
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. |
Assembly PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35