Can we have private constructor in our class file. When we
are trying to create instance for the class will it create
or throw error regarding that?
Answer Posted / balamurugan
we can create private constructor.it wont throw any
execption..but we cant create object for that class
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is the use of partial methods?
What is yield return in c#?
i want the csharp questions&answeres
How do I create a .exe file?
What is dataset and dataadapter in c#?
Explain lock, monitors, and mutex object in threading.
What is the difference between array and list in c#?
What is the difference between function and method in c#?
What is ado net in c#?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
Is hashset serializable c#?
Explain “static” keyword in c#?
How big is an int16?
Define mutex in C#?
How Do You Convert A Value-type To A Reference-type?