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
Classes and structs can be declared as static, is this statement true or false?
What is disconnected data architecture in c#?
Explain the top reason to use c# language?
Can abstract classes be final?
What is .dbml file?
What does mean before a string in c#?
Define a strong name in .net?
What is dependency injection?
How to reverse each word in a string using c#?
What is a hashset c#?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
What is keywords in c#?
What is a framework in c#?
What is the difference between values and reference types?
Which are the loop types available in c#?