Why Action Methods are public?

Posted by Amatya under ASP.NET MVC on 12/14/2017 | Points: 10 | Views : 395 | Status : [Member] | Replies : 2
Why Action Methods are public? I want to get all the properties of Action Method with proper answers. I have asked this questions in various Interviews
Thanks
in Advance

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks



Responses

Posted by: Pandyamanav on: 12/14/2017 [Member] Starter | Points: 25

Up
0
Down
Hello Sir

I have learned about this at many place , thus no proper reason provided that why it always stays public

Must say that it should be public bcoz action methods are likely to be access at many time and many place so cant be private or protected

If still anything miss let me know

Thanks

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 12/14/2017 [Member] Silver | Points: 25

Up
0
Down
Hi man, I know you tried but I wanted more then this. Waiting for a better response which will make us more confident and experience
Thanks for your effort

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response