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
What is the default value of datetime in c#?
Expalin the way you implement inheritance by using VB.NET/C#?
What is immutable in C#?
What does int32 mean in c#?
Define encapsulation?
What is the difference between select and selectmany?
What are annotations in c#?
Explain About multi level and multiple inheritance how to achieve in .net
What is anonymous methods in c#?
How many types of constructors are there in c#?
What is gridview c#?
What is an iqueryable in c#?
What is an array class?
Explain circular reference in c#?
what are the differences between a class and structure