Private – It is accessible within the same class.
Protected – It is accessible within the class and in the inherited class.
Internal – It is accessible within same namespace assembly reference.
Public – It is accessible for all the classes and outside the namespace assemble reference.
----------------------------------
Interview Questions and Answers
1. What is the default access modifier for class?
internal
2. What is the default access modifier for variable?
private
------------------------------------------------------------------------
C Sharp playlist: https://youtube.com/playlist?list=PL0NK-I6qJ8KwEBEZdF-Q81eKfwDl5HVf_&si=TlhTsVYYRCwtQmat
Subcribe: https://youtube.com/@Micah_Tech
Instagram: https://www.instagram.com/micah_tech/
GitHub: https://github.com/Kirubason
whatsapp: https://wa.me/919360586730
-------------------------------------------------------------------------
tag
.Net framework, ASP.Net, ADO.Net, Linq, Parallel Linq, Visual Studio, VB.Net, Web API, Web services, WCF, WinForms, MVC framework, .Net core, ASP.Net core, MVC .Net core, Visual Studio Code, Visual basics, C# Programming language, CLR, compiled code, Tutorial, interview question and answer, C# demo, freshers and experienced job search, coding in .Net, Entity framework, oops concepts, object-oriented programming language, real time project, real time demo, step by step explanation, .net 7
#மைக்காடெக் #micah #MicahTech