15
Reply

What is type of constructor?

Sandeep Kumar

Sandeep Kumar

Dec 27, 2015
1.2k
1

    If a constructor is explicitly declared by using Static modifiers it's Static Constructor otherwise others are Instance Only

    Sandeep Singh
    August 19, 2016
    1

    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 ConstructorParameterized ConstructorCopy ConstructorPrivate Constructor If we are asking about type of a constructor. then answer would be constructor dont have a type/return type.

    Anil Kumar Murmu
    January 13, 2016
    1

    Static Constructor Instance Constructor

    Joe Wilson
    December 30, 2015
    1

    There is 2 type of constrctor. 1.Instance constructor 2.non instance constructor

    Sandeep Kumar
    December 27, 2015
    1

    1.default constructor 2.perameteralize consctructor

    Hiren Parmar
    August 14, 2016
    0

    Default constructor same as name of class and parameterised constructor.

    Vishal Jadav
    August 09, 2016
    0

    Instance constructor [Multiple Instances] & Non instance constructor

    1.Instance constructor 2.Non instance constructor

    Vivek Kumar
    March 24, 2016
    0

    5 Types of constructor are there 1)Default 2)Parameterised 3)Private Constructor 4)Copy Constructor 5)Static Constructor.

    Rajeev Punhani
    January 27, 2016
    0

    Static Constructor Instance Constructor

    Kml Surani
    January 09, 2016
    0

    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 kumar
    January 05, 2016
    0

    check this http://www.c-sharpcorner.com/UploadFile/0c1bb2/constructors-and-its-types-in-C-Sharp/

    Ravi Patel
    December 30, 2015
    0

    Static Constructor Instance Constructor

    Joe Wilson
    December 30, 2015
    0

    constructor are two types1. 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 Sahni
    December 29, 2015
    0

    Types of ConstructorsBasically constructors are 5 types those are1. Default Constructor2. Parameterized Constructor3. Copy Constructor4. Static Constructor5. 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 Singh
    December 28, 2015
    0