Answers

Question and Answer:

  Home  C# (Sharp) Programming Language

⟩ Why cannot you specify the accessibility modifier for methods inside the interface?

They all must be public. Therefore, to prevent you from getting the false impression that you have any freedom of choice, you are not allowed to specify any accessibility, it is public by default.

 265 views

More Questions for you: