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 an assembly loader?
What does public mean in c#?
Describe the process of “exception handling implementation” in c#?
What is dependency in software?
What is boolean conditions in c#?
Define an abstract class?
Explain how is the dll hell problem solved in .net?
Will the following code compile?
How objects are stored in memory?
How Do You Convert A Value-type To A Reference-type?
What is scaffolding in c#?
Explain the Different types of configuration files in .net?
Differentiate between the public and private ?
What is the difference between Decorator and Adapter pattern?
What is streamreader/streamwriter class?