Private class in namespace

Can a private class be declared in a namespace?

E

Expert

Verified

Classes in the namespace are internal, by default. Though, you may explicitly declare them as public and not as protected, private, or protected internal. Nested classes may be declared as a protected, private, or protected internal.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.