What are the access-specifiers available in c#?
Answer Posted / susanta sahoo
private-accessible with in the class.
protected-accessible with in the class and its child class only in the same project.
internal-access to its child and non child class with in a project.
protected internal-accessible to its child & non child within
the same project(internal inside the project) & accessible to its child class only when a reference is made(protected outside project).
public -accessible to any object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain About sn.exe
How Do You Convert A Value-type To A Reference-type?
How big is an int in c#?
What are the collections in c#?
What are the Types of optimization and name a few and how do u do?
What Is The Smallest Unit Of Execution In .net?
How do you access a constant field declared in a class?
Why do we use constructors in c#?
What are generic types?
how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.
Are tuples immutable c#?
Why we use anonymous methods in c#?
What is base class in c#?
How many types of constructors are there in c#?
What are the properties in c#?