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
Write the basic steps to execute a LINQ query. The following are the three basic steps to execute a LINQ query:     Obtain the data source (The data source can be either an

What are benefits and limitations of using Hidden frames 1)    The benefits of using hidden frames are as follows: 2)    More than one data field can cache. 3)    The abi

What is Reflection?  It extends the advantages of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained

Project Description I require a Automated penny auction bidder software (bidder robot, sniper software, Autobidder ) that put bid at specific milliseconds Nanoseconds from the e

What is Windows Workflow Foundation (WF)? Windows Workflow Foundation (WF) is a technology that was first introduced in .NET Framework 3.0. WF having of a programming model, a

Explain the XML elements. The elements are the central units of an XML document that define and identify data. The elements are represented by the tags. You can also make your

What is DBMS? It is a collection of programs that enables user to make and maintain a database. In other words it is general-purpose software that gives the users with the proc

I need Kinect Developer c++ We are creating a fitting room with Kinnect and I need some questions answered like how to detect if a person turns around, how to make the clothing

Web Developer Project Description: We need of an expert web developer for long term association, please apply with models if you have the subsequent skills: ASP.NET MVC 3

Program of Reversing Array - C# Program Please provide me assignment help regarding my problem.