Explain about Protected and protected internal, ?internal?
access-specifier?

Answer Posted / sainath

Mr.Ranganathkini,
Your explanation helped me a lot,
I need some more clarification.
suppose in your first example Class C is in namespace
Ranga.AccessTest , if it was not in the same namespace, but
let us assume that it has inherited the class A, then could
it have the access to methodA.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is void a class?

554


Does c# support multiple inheritance (mi)?

611


How is exception handling implemented in c#?

680


What is a view? What is the use of it?

668


What is call back method?

593






How do you escape in c#?

617


What does out mean c#?

581


What is pure abstract class in c#?

553


What is datatable and dataset in c#?

550


What are the 2 types of data types available in c#?

579


How many root nodes are there in an xml document?

526


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

605


What is class and object c#?

554


What is variable and its classification?

622


What is main thread in c#?

576