Can we have a private constructor in a static class?

No. Static classes can not have instance constructors.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. For more information - please visit our private policy.