Showing category:

The protected keyword in CSharp, what is it used for?

The protected keyword is an access modifier applied to the declaration of a class and any of its members that restricts the scope of accessibility to either within the class (or struct) where it is declared or from classes derived (inherited) from it.