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?

Answers were Sorted based on User's Feedback



what is accessspecifier and explation each with example?..

Answer / chaithanya.a

These are also modifiers used to define scope of a type as
well as their members i.e who can access them who can't
c#supports 5 types
1.private
2.internal
3.protected
4.protected internal
5.public

Is This Answer Correct ?    3 Yes 0 No

what is accessspecifier and explation each with example?..

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

what is accessspecifier and explation each with example?..

Answer / ssss

Access specifiers are private,public etc....

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More C Sharp Interview Questions

Difference between multi-level and multiple inheritance?

17 Answers   Microsoft,


What is parameter c#?

0 Answers  


What does the parameter Initial Catalog define inside Connection String?

5 Answers  


public void A() { int x; x = 8; x *= 4 + 8 / 2; } Given the above code, what is the value of "x"?

8 Answers  


What is c# console application?

0 Answers  


What are extension methods and where can we use them?

0 Answers  


What is a thread c#?

0 Answers  


What is boxing? Explain its functionality?

0 Answers   Siebel,


Where do we use serialization in c#?

0 Answers  


What are data types examples?

0 Answers  


What is an assembly in .net?

0 Answers  


Where do we set the min and max pool size for connection pooling?

0 Answers  


Categories