What is a private constructor? where will you use it?
Answer Posted / nitesh
When we want to control the object instantiation
or trying to implement singleton pattern
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Explain the features of an abstract class in net.
What is an event in c#?
Why attributes are used in c#?
What is the use of iqueryable in c#?
What are c# i/o classes?
What is enum in c#?
What is args c#?
Can a constructor be static in c#?
What is difference between private and static constructor?
What is ienumerator c#?
What is deferred execution?
Why do we need indexers in c#?
Where value types are stored in c#?
What is ado c#?
What is COM Interoperability?