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 lazy in c#?

945


What is an array class?

1122


What is meant by generics in c#?

933


What do you mean by default constructor?

1110


Why to use lock statement in c#?

948


What is the components of window?

925


Write a C# program to find the Factorial of n

997


How do I use the 'using' keyword with multiple objects?

972


Explain partial class in c#?

931


Explain the use of virtual, sealed, override, and abstract method?

902


What is autopostback in c#?

966


What is the difference between field and property in c#?

949


What is xaml in c#?

950


Is c sharp and c# are same?

943


What is a multicast delegate in c#?

999