What is type of Access modifier ?
Sandeep Kumar
Private : Accessible only inside the class. Protected :Accessible only in derived class. Public: Accessible inside the class as well as outside the class. Internal : Accessible inside the class/Application and accessible outside the class but not Application. Internal Protected: Accessible inside the derived class and application but not accessible outside the derived class.
http://csharp.net-informations.com/language/csharp-access-specifiers.htm
Access ModifiersAccess Modifiers (Access Specifiers) describes as the scope of accessibility of an Object and its members. We can control the scope of the member object of a class using access specifiers. The following five accessibility levels can be specified using the access modifiers:public, private , protected , internal and protected internalpublic: Access level is not restricted.protected: Access level is limited to the containing class or types derived from the containing class.What are the Default Access Modifiers in C# ?Internal: Access level is limited to the current assembly.protected internal: Access level is limited to the current assembly or types derived from the containing class.private: Access level is limited to the containing type.If no modifier is specified, the method is given private access.
Public Private Protected PrivateProtected
Access modifier are Public Internal Protected Protected Internal Private