Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the different access modifier? Explain in detail?

Answer Posted / imatoria

The access modifier on a property applies to both its get
and set accessors, so different modifiers can’t be applied
for same property.
1. Public- Accessible outside the class through object.
2. Private- Accessible inside the class by member
functions.
3. Protected- Just like private but accessible in derived
class also but by member functions.
4. Internal- Visible inside the Assembly. Accessible through
members. Logic is same as global private.
5. Protected Internal- Visible inside the assembly and
outside the assembly through derived classes.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we achieve language interoperability through CLS? How MSIL works?

1086


What are the main Tools to develop .Net Application?

964


what is the difference between running an application with and without debugger?

2100


Which software is used for .net programming?

940


deference between display and visibility property of CSS

2279


Explain domestic architecture artifacts? : Dot net architecture

913


What is textview control of .net mobile? : Microsoft dot net mobile

1012


what is the method while we are using adapter and dataset ?

1860


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

917


Explain the purpose of cache? : Dot net architecture

911


What is the access level of the visibility type internal?

969


what is sessions and cookies take one example simple way to understand

2349


What are .net mobile controls features? : Microsoft dot net mobile

945


if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get

2324


What does the term "green architecture" mean? : .NET Architecture

969