difference between keyword internal and protected?

Answer Posted / ghouse basha s

These are access specifiers,
Internal means methods and properties will be accessible to
Classes in the Assembly
Protected means methods and properties will be accessible to
classes and in the derived assembly

Is This Answer Correct ?    7 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespace give the example?

464


What is 8 bit signed integer?

483


Define delay signing?

534


Are c# destructors the same as c++ destructors?

562


Is multilevel inheritance possible in c#?

480






What is disco?

520


Why we use get set in c#?

503


What is xml comments in c#?

494


Can we inherit a private class in c#?

464


What is the difference between dll and lib?

480


Can partial class be inherited?

506


What is namespace c#?

483


What is the difference between a field and a property in c#?

496


Define using statement in c#?

521


How do we achieve encapsulation in c#?

488