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
Introduction to .NET Technology 1. Explain the following with respect to .NET Technologies: a. Web Applications b. Web Server Connections 2. Write a sample program using AS

What is an object? They are instance of classes. It is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Attributes and behavior of

ILDASM When it comes to the understanding of the internals nothing can beat ILDASM. ILDASM  converts all the exe or dll into IL code. To run ILDASM you have to go to "C:\Progra

Which command-line tool generates code and mapping for the LINQ to SQL component of .NET Framework? The SqlMetal.exe command-line tool generates code and map the LINQ to SQL co

Project Description: This project uses Microsoft Visual Studio 2010/2012, Internet Information Services (IIS) Manager and Microsoft SQL Server Management Studio. It is a Mobi

Investment Equation - C# Program I didn't know the exact code for computing Investment Equation. Can anybody suggest me the correct way for my problem?

Website update... Immediate need I want someone experienced in ASP.NET who can set up PayPal on my website by Feb. 1st. I would similarly like to have some changes made in the t

What is a parameter? Explain the new types of parameters introduced in C# 4.0. A parameter is a special type of variable, which is used in a function to give a piece of informa

I want a Panel for youtube views and facbook likes. I need a panel made that can increase facebook fanpage likes, and that will increase youtube video views. Youtube views an

Explain different software development life cycles. The System Development Life Cycle (SDLC) is the overall process of developing information systems through multi stage proces