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
Can an exception be thrown from a catch block?
explain the nature of the assembly work?
What is the use of thread join in c#?
List the 5 different access modifiers in c#?
List some Advantages of switch-case over if else?
Why we use extension method in c#?
What is strongly typed in c#?
Define delay signing?
How to find the current application file path while runtime?
Wcf and what is difference between wcf and web services?
What is javascriptserializer c#?
List the fundamental oop concepts?
How string definitions will prevent escaping on backslashes in C#?
Why is it not a good idea to use empty destructors?
Why do we override in c#?