Internal
please explain about Internal ----- Access modifer?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Andrew FensterRank #983 · 2K reputationPosted Jan 26, 2010, 6:41 AM EST
As an example of how you would use this, I have a large web application I'm building. I have a solution which contains several projects. One of those projects is the data access layer. This project has public classes full of public methods. These are used by the rest of the solution to call to the data access layer. There are also a large number of internal classes and methods. These can only be called within the data access layer project. Outside the project, these classes and methods are invisible. They don't show up in InteliSense. They can't be called.
You can almost think of the project as a big class. It has public pieces that can be accessed from outside, and it has internal pieces that can only be accessed within the project.