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 is a multicast c# delegate?
What are c# collections?
What are the steps for creating clr trigger
What is array class in c#?
Which .gang of four. Design pattern is shown below?
What is string class in c#?
What is verbatim literal in c#?
What are immutable types in c#?
what is the difference between a struct and a class in c#?
Can a class be protected in c#?
Why do we use Design Pattern in C#?
What is master page in asp net c#?
What are winforms in c#?
What is the property of class?
Where’s global assembly cache located on the system?