| Author: Durga Prasad 11 Jun 2007 | Member Level: Silver | Rating: Points: 2 |
v Private : Only members of class have access. v Protected :-All members in current class and in derived classes can access the variables. v Friend (internal in C#) :- Only members in current project have access to the elements. v Protected friend (protected internal in C#) :- All members in current project and all members in derived class can access the variables. v Public :- All members have access in all classes and projects.
|
| Author: asdf 14 Aug 2008 | Member Level: Silver | Rating: Points: 0 |
• Access Modifiers Making the range of implementation. Like methods available for Public - other classes with in the namespace. Private – only for the current class. Protected – only for avail “X” class which is inherit the current class. Friend (internal) – avail for project. Protected friend(internal) – avail for new “X” project which is inherit the current project.
|