c# interview questions :- What is the use of private constructor ?
Description
This is one of those c# and .NET interview question is asked from the perspective to test if you understand the importance of private constructors in a class.
When we declare a class constructor as private , we can not do 2 things:-
-- We can not create a object of the class.
-- We can not inherit the class.
Discussion
There are no more comments to show right now
Presentation Transcript
Your Facebook Friends on WizIQ