private protected - C# Reference | Microsoft Learn Web15 sept. 2021 · The private protected access modifier is valid in C# version 7.2 and later. Example. A private protected member of a base class is accessible from derived types in its containing assembly only if the static type of the variable is the derived class type. For example, consider the following code segment: