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
how can one use hcl and c sharp together?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
What is querystring in c#?
How to Install uninstall assemblies into GAC?
What are partial types in c#?
What are the types of parameters in c#?
Explain the difference between .net and c#?
We cannot create instances of static classes. Can we have constructors for static classes?
What is join in c#?
Is string mutable in c#?
What are the properties of a string class?
What is the use of table aliases?
What is lazy loading c#?
What is immutable in C#?
What is wcf c#?