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

What is the difference between static class and sealed class in c#?

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN STRING AND STRING BUILDER ?

3 Answers  


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

0 Answers  


What?s the advantage of using System.Text.StringBuilder over System.String?

3 Answers  


What is the benefit of delegate in c#?

0 Answers  


Can we inherit singleton class in c#?

0 Answers  


Explain the OOPS concept in C#?

0 Answers   HCL,


Which one is trusted and which one is untrusted?

0 Answers  


Difference between StackPanel and RelativePanel ?

0 Answers   HCL,


Is everything an object c#?

0 Answers  


How to throw an caught exception from cath block?

3 Answers   TCS,


Which is algorithm is used to Manage the Memory in .net ??

7 Answers   TCS,


Categories