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
What is the use of tuple in c#?
Can enum have methods c#?
Is lazy thread safe c#?
Why do we need escape characters?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?
Why dictionary is faster than list?
List the 5 different access modifiers in c#?
Define c# i/o classes?
What is token in c#?
Why we use extension method in c#?
When should I use static in C#?
What is the max value of int32 in c#?
What is array collection?
What is asp net c# corner?