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 difference between array and arraylist c#?
Is goto statement supported in c#?
What is a collection class in c#?
Can an abstract class inherit from another abstract class c#?
What's the difference between system.string and system.text.stringbuilder classes?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
What are the differences between events and delegates in c#?
What is an icollection in c#?
How to update the gui from another thread in c#?
What is object pool in .net?
What is difference between sleep () and wait ()?
Can an abstract class have a constructor c#?
Is stringbuilder better than string?
What is overriding in c#?
what are the Disadvantages of vb