can protected be accessed via base class c# code example
Example: what is a protected int c#
protected is useful when you want your class and all derived (child) classes to be able to access the method or variable, but you don't want it to be public.