Protected Keyword C#

Viewed 24714

I want to know what is the meaning of protected in C#, why we use it, and the benefit of the keyword?

For instance

protected int currentColorIndex;

Please elaborate.

7 Answers
Related