Different accessibility levels in .net, DOT NET Programming

What are the different accessibility levels in .NET?

The five levels of access modifiers are as follows:-

  • Private: The members of the class only have the access.
  • Protected: All the members in current class & in derived classes can access the variables.
  • Friend (internal in the C#):- Only the members in current project have access to the elements.
  • Protected friend (protected internal in the C#) :- All members in the current project & all members in derived class can access the variables.
  • Public: - All the members have access in all classes and projects.
Posted Date: 9/22/2012 3:08:54 AM | Location : United States







Related Discussions:- Different accessibility levels in .net, Assignment Help, Ask Question on Different accessibility levels in .net, Get Answer, Expert's Help, Different accessibility levels in .net Discussions

Write discussion on Different accessibility levels in .net
Your posts are moderated
Related Questions
CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these d

Sorting 2 Arrays & Merging into 1 - C# Program Hello, i didn't find the correct way to implement Array in my project. I am beginner for this language.  Please suggest me some

C# API to grab option price from CBOE web site Project Description: On the web page below, user will download option prices of Stock or Index. For example, if you put "VXX" i

What is CodeDom The "CodeDom" is an object model that represents actually a source code. It is designed for language independent - once you create a "CodeDom" hierarchy for a p

Need a K2 Blackpearl workflows help Need a K2 Blackpearl workflows experienced developer to integrate in SharePoint 2010 and 2013. The workflow integrates with Navision 5 provid

Need Experienced dot Net and PHP Programmers Project Description: Need Experienced dot Net., JSP, PHP, Java Programmers Skilled professional and command in Programming eit

having trouble programming

What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, like classes that contain properties, methods, fields, and events. An object is formed

What is difference between System.String and System.StringBuilder classes? String and StringBuilder classes are used to store string values but the dissimilarity in them is tha

Project Description: I require a flight scheduling website, including billing and basic aircraft management; this will be used by a local piloting school There is no requirin