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 fcl in c#?
Explain the difference between the system.array.copyto() and system.array.clone()?
What is the difference between convert and parse in c#?
Can struct have constructor c#?
How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!
Why delegates are type safe?
What is _layout cshtml?
Is var a data type?
What is event sourcing in c#?
How assembly versioning in .NET prevent DLL Hell problem?
What is the interface in c#?
How many types of polymorphism are there?
What is a linked list c#?
HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only
Can constructor be protected in c#?