To whom a method is accesssed if it is marked as protected internal ?



To whom a method is accesssed if it is marked as protected internal ?..

Answer / Pankaj Kumar Arya

A protected internal method can be accessed within the same class, derived classes, and within other assemblies in the containing project. However, it's only accessible from the containing assembly if accessed through an instance or a reference to a public member.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Explain jagged arrays in c#?

1 Answers  


What are the properties of string?

1 Answers  


Why is main static in c#?

1 Answers  


What?s a delegate?

3 Answers  


What are the methods in c#?

1 Answers  


What is call back method?

1 Answers  


How do you mark a method obsolete?

1 Answers  


Does c# support a variable number of arguments?

1 Answers  


what are delegates? How you used then in your project?

10 Answers   Hawk Eye, IndiaTimes, Kanbay,


What is Interface? Explain with an example.

8 Answers   TCS,


what is the index value of the first element in an array?

1 Answers  


Explain the difference between a namespace and assembly name in .net?

1 Answers  


Categories