What are the access-specifiers available in c#?
Answer Posted / archana
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. private - The member is only accessible by other members
within the type it originates from.
| Is This Answer Correct ? | 52 Yes | 65 No |
Post New Answer View All Answers
What is property c#?
What is a float?
In .NET which is the smallest unit of execution?
When Should You Call The Garbage Collector In .net?
Can constructor be protected?
What is global namespace in c#?
What is difference between gridview and form view?
What is difference between an reference type and value type in C#?
Explain the difference between the debug class and trace class?
Why c# is called type safe language?
Why do we need abstract class?
What are the different types of classes?
What is a method signature?
What does this keyword mean in c#?
Why is c# better than java?