What is the need of private constructor in C#? I got it as a question for a C# test.
When you want to prevent the users of your class from instantiating the class directly. Some common cases are: