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 access-specifiers available in c#?

Answer Posted / ranganathkini

The access-specifiers available in C# are:

1. public - The member can be accessed from anywhere
2. internal - The member can only be accessed from type it
originates from or other types in the same assembly
3. protected - The member can only be accessed from the type
it originates from or from detrieved types of the
originating type
4. protected internal - implies protected OR internal ( not
protected AND internal )
5. private - The member is only accessible by other members
within the type it originates from.

Is This Answer Correct ?    238 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of FormBoarderStyle Propertie

937


What is a streamwriter in c#?

937


What is .dbml file?

898


How do I make a dll in c#?

936


What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

988


what is inheritance and an example in vb.net and c# of when you might use it?

957


Is namespace necessary in c#?

926


Is a decimal an integer?

888


What is parseexact c#?

1002


Can dictionary have duplicate keys c#?

880


Explain the role of Garbage collector and its generations?

963


Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

970


Can you prevent a class from being instantiated?

1000


Name some string escape sequences in c#.

1044


Are tuples mutable c#?

952