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 / srinu

private --> the members can access in the same class of
same project

internal --> the members can access from the same project,
but any class

protected --> the child class members of the class can
access the members either in same project or another
project.

protected internal --> dual scope( internal + protected ).

pubic -->access from any where.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a jagged array?

867


Why is it not a good idea to use empty destructors?

985


What is main thread in c#?

858


What framework is used for performance testing/load testing?

1900


Can you use foreach iteration on arrays in c#?

1010


Why do we need constructor in c#?

875


How do you escape c#?

844


What is xml comments in c#?

836


Suppose two interfaces have same method, so how will you implement these methods in derive class?

909


What is the predicate of a sentence?

864


What is a class level variable in c#?

924


Are there functions in c#?

903


How many types of collections are there in c#?

850


Which .gang of four. Design pattern is shown below?

862


Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?

778