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 / vijay rana
we can declare objects in csharp,
but we can not create any instance of this class ,
if we do so it will throw an exception;
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What's the difference between a static method and a non static method c#?
What do you mean by delegates and explain different types of delegates?
Explain the features of an abstract class in net.
What is difference between continue and break in c#?
Can var be null c#?
What is escape character in c#?
What is the output of TextWriterTraceListener redirected?
What are strings in c#?
Is dll a library?
Why References are stored on heap and variables on stack?
What is meant by console programming?
What is multiple interface in c#?
What are the concepts of dispose method?
What do you mean by hashtable c#?
What is ienumerator c#?