Following are the access modifier in class of .net framework.
1. Public
Allow access to class member from any other class.
2. Private
Allow access to class member from same class only.
3. Protected
Allow access to class member from same class and inherited classes.
4. Internal
Allow access to the class member in same Assembly.
5. Protected Internal
Allow access to class member in same class,inherited classes and classes in same Assembly.
6. Static
Indicates member can be called without instantiating the class.
Tuesday, July 24, 2007
0 comments:
Post a Comment
Your feedback is very important to me. Please provide your feedback via putting comments.