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 wcf c#?
What is difference between string and string builder?
What is Delegate and what is it used for ?
What are methods c#?
Distinguish between the Debug class and Trace class with its functionality?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
How do you read an Excel sheet in C#?
Differentiate between static class and singleton instance?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
What is a property c#?
Are objects passed by reference in c#?
Write a short note on interface?
Is linkedhashset synchronized?
What is continue in c#?
Is a decimal an integer?