June 2002
Intermediate to advanced
864 pages
18h 35m
English
VB.NET has two means for controlling accessibility of class members. Access can be controlled at both the class level and the member level.
An access modifier can be placed in front of the Class keyword to control which code can get at the class at all. Access can be further restricted by member accessibility, discussed in the next subsection.
The most common access modifier of a class is Public, which makes the class available to all code in the program. Whenever we are implementing a class that all code can use, we want to make it Public.
The Friend modifier makes a class available within the current assembly, which can be thought of as a logical EXE or DLL. (Assemblies were introduced in Chapter ...
Read now
Unlock full access