Sandeep Kumar
What is type of Access modifier ?
By Sandeep Kumar in .NET on Dec 19 2015
  • Dimpy Dhiman
    Jul, 2016 24

    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.

    • 1
  • Munesh Sharma
    May, 2016 31

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

    • 1
  • Dharmendra Rai
    Jan, 2016 6

    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.

    • 1
  • Amit Parmar
    Mar, 2016 11

    Public Private Protected PrivateProtected

    • 0
  • Sandeep Kumar
    Dec, 2015 19

    Access modifier are Public Internal Protected Protected Internal Private

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS