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

Explain the purpose of cache? How is it used? : Dot net architecture

942


Explain .net mobile automatic paging? : Microsoft dot net mobile

867


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

2034


Explain .net mobile events? : Microsoft dot net mobile

898


What is the access level of the visibility type internal?

907


How can implement drag and drop using atlas?

948


What are public and private assemblies ?

904


So what exactly is the configuration file for then?

911


What are the important principles of soa (service oriented architecture)?

864


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture

890


Name some changes done since version 3.0?

913


What is the difference between absolute expiration and sliding-time expiration?

967


Explain about developer benefit from memory management?

900


HttpHendler and HttpModules

2107


What is private constructor? And it's use?

1031