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 serializable in c#?
Can firstordefault return null?
Can you inherit from multiple classes in c#?
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.
What is cts, clr?
What is the difference between first and firstordefault?
What is a decimal in c#?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
What is an interface class? Give one example of it
What is equal c#?
What are delegates in C#?
What is ControlBox Propertie
How do you create empty strings in c#?
Explain static class members.
What is the use of parse in c#?