Is it possible to declare a private class in a namespace

Is it possible to declare a private class in a namespace?

E

Expert

Verified

By default the classes which are in a namespace are internal. Though, we can explicitly declare them as public but not as protected, private, or protected internal. Nested classes can be declared as private, protected internal or protected.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.