internal
please explain about Internal ----- Access modifer?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Andrew FensterPosted Jan 26, 2010, 11:41 AM
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.