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
Why do we need abstract class?
What is the delegates in c#?
Explain types of comment in c# with examples
What is new method in c#?
What is delimiter in c#?
Explain the difference between class and interface in .net?
Is everything an object c#?
What do you mean by object pooling?
What is func delegate in c#?
How many types of interface are there in c#?
What is difference between class and abstract class in c#?
Is equal in c#?
What is ulong in c#?
What is difference between method and function in c#?
What is the difference between Decorator and Adapter pattern?