5
Reply

What is type of Access modifier ?

Sandeep Kumar

Sandeep Kumar

Dec 19, 2015
568
1

    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.

    Dimpy Dhiman
    July 24, 2016
    1

    http://csharp.net-informations.com/language/csharp-access-specifiers.htm

    Munesh Sharma
    May 31, 2016
    1

    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.

    Dharmendra Rai
    January 06, 2016
    1

    Public Private Protected PrivateProtected

    Amit Parmar
    March 11, 2016
    0

    Access modifier are Public Internal Protected Protected Internal Private

    Sandeep Kumar
    December 19, 2015
    0