Interviews15 answers
What is type of constructor?
15 Answers
If a constructor is explicitly declared by using Static modifiers it's Static Constructor otherwise others are Instance Only
Sandeep SinghPosted Aug 19, 2016, 1:11 AM EDT
1.default constructor
2.perameteralize consctructor
Hiren ParmarPosted Aug 13, 2016, 10:35 PM EDT
Default constructor same as name of class and parameterised constructor.
Vishal JadavPosted Aug 8, 2016, 11:31 PM EDT
Instance constructor [Multiple Instances] & Non instance constructor
Bhuvanesh MohankumarPosted May 30, 2016, 9:09 AM EDT
1.Instance constructor
2.Non instance constructor
Vivek KumarPosted Mar 23, 2016, 10:32 PM EDT
5 Types of constructor are there 1)Default 2)Parameterised 3)Private Constructor 4)Copy Constructor 5)Static Constructor.
Rajeev PunhaniPosted Jan 27, 2016, 8:35 AM EST
Need more clarification on question. Are you asking Types of constructor or type of constructor.
if we are saying what are different types of constructor then answer would be static and Instance constructor. Instance constructor can be further classified into Default Constructor
Parameterized Constructor
Copy Constructor
Private Constructor
If we are asking about type of a constructor. then answer would be constructor dont have a type/return type.
Anil Kumar MurmuPosted Jan 13, 2016, 1:09 AM EST
Basically there are five types of constructor are available in c#.
1) Default constructor
2) Parameter constructor
3) Copy constructor
4) Static constructor
5) Private constructor
sushil kumarPosted Jan 5, 2016, 2:02 AM EST
check this
http://www.c-sharpcorner.com/UploadFile/0c1bb2/constructors-and-its-types-in-C-Sharp/
Ravi PatelPosted Dec 30, 2015, 2:52 AM EST
Static Constructor
Instance Constructor
Joe WilsonPosted Dec 30, 2015, 2:37 AM EST
Static Constructor
Instance Constructor
Joe WilsonPosted Dec 30, 2015, 2:37 AM EST
constructor are two types
1. Instance Constructor
This will fire when any object will be created. It can be parameter or parameterized constructor.
2. Static Constructor
This will be fire first time when any member of class will be accessed. Like before object creation or static method call.
Dhanik SahniPosted Dec 28, 2015, 7:46 PM EST
Types of Constructors
Basically constructors are 5 types those are
1. Default Constructor
2. Parameterized Constructor
3. Copy Constructor
4. Static Constructor
5. Private Constructor
Plz refer this link for detail.
http://www.c-sharpcorner.com/UploadFile/0c1bb2/constructors-and-its-types-in-C-Sharp/
http://www.aspdotnet-suresh.com/2013/09/csharp-constructor-example-types-of-constructor-in-csharp.html
Rajesh SinghPosted Dec 28, 2015, 5:46 AM EST
There is 2 type of constrctor.
1.Instance constructor
2.non instance constructor
Sandeep KumarPosted Dec 27, 2015, 12:14 AM EST











