What is the difference between internal and protected in c#?



What is the difference between internal and protected in c#?..

Answer / Anup Kumar Nayak

Internal access modifier in C# allows access within the assembly while Protected access modifier allows access within the same class or derived classes of another assembly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do I register my code for use by classic com clients?

1 Answers  


How do I develop c# apps?

1 Answers  


Will finally block get executed if the 1exception had not occurred?

3 Answers  


How do you mark a method obsolete?

1 Answers  


What does async mean in c#?

1 Answers  


Give some examples of commonly used i/o classes?

1 Answers  


Explain code compilation in c#.

1 Answers  


What is object array in c#?

1 Answers  


Can a constructor be static in c#?

1 Answers  


What are functions in c#?

1 Answers  


What is assembly version series sequence?

1 Answers  


What is data type in c# with example?

1 Answers  


Categories