No, we cannot make a controller as protected.
Let’s try to make controller as protected.
When we make controller as private,protected,protected internal. It is giving an compile time error, But when we make controller as internal lets see what happen.
Let’s run the application and see the output.
Lets make it controller as public and run the application.