what is a protected int c#

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.
Source

Also in C#: