Sandeep Kumar
What is type of constructor?
By Sandeep Kumar in .NET on Dec 27 2015
  • Sandeep Singh
    Aug, 2016 19

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

    • 1
  • Anil Kumar Murmu
    Jan, 2016 13

    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.

    • 1
  • Joe Wilson
    Dec, 2015 30

    Static Constructor Instance Constructor

    • 1
  • Sandeep Kumar
    Dec, 2015 27

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

    • 1
  • Hiren Parmar
    Aug, 2016 14

    1.default constructor 2.perameteralize consctructor

    • 0
  • Vishal Jadav
    Aug, 2016 9

    Default constructor same as name of class and parameterised constructor.

    • 0
  • Bhuvanesh Mohankumar
    May, 2016 30

    Instance constructor [Multiple Instances] & Non instance constructor

    • 0
  • Vivek Kumar
    Mar, 2016 24

    1.Instance constructor 2.Non instance constructor

    • 0
  • Rajeev Punhani
    Jan, 2016 27

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

    • 0
  • Kml Surani
    Jan, 2016 9

    Static Constructor Instance Constructor

    • 0
  • sushil kumar
    Jan, 2016 5

    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

    • 0
  • Ravi Patel
    Dec, 2015 30

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

    • 0
  • Joe Wilson
    Dec, 2015 30

    Static Constructor Instance Constructor

    • 0
  • Dhanik Sahni
    Dec, 2015 29

    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.

    • 0
  • Rajesh Singh
    Dec, 2015 28

    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

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS