1. What is default access modifier for interface? 2. Is it possible to specify access modifier as "Protected" for interface?
What is default access modifier for interface?
Public is default access modifier for interface.
Is it possible to specify access modifier as "Protected" for interface?
No. We can't specify any access modifier for interface. Elements in a namespace can't have access modifier.
Read More..   [32134 clicks]
Published under: C# Interview Questions and Answers · · · ·