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 is accessspecifier and explation each with example?

Answer Posted / pranoti moghe

There are basically 5 access specifiers in .net...
Public - meaning members can be accessed from anywhere..even outside the assembly...
Private - meaning members cannot be accessed outside a class..
Protected - meaning members can be accessed in that class and to the derived classes....
Protected internal
Internal

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I declare a pure virtual function in c#?

968


What are the properties of a string class?

992


What are extender provider components? Explain how to use an extender provider in the project.

894


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

2061


Why do we use struct in c#?

948


What is static class in C#?

1011


What is oledbconnection c#?

893


Is list a collection c#?

963


What is a multicast delegate in c#?

977


How are delegates chosen?

870


What do you mean by string objects are immutable?

981


write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )

2469


Which are access modifiers available in c#?

937


What does void mean in c#?

949


What are the different types of assembly?

1031