What are types of constructor?



What are types of constructor?..

Answer / Ram Singh Meena

In C#, there are two types of constructors: default constructor and user-defined constructors. The default constructor is generated automatically if no constructor is defined in a class, while the user-defined constructor is created explicitly by the programmer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What does private void mean in c#?

1 Answers  


Explain About web methods and its various attributes

1 Answers   Digital GlobalSoft,


What is a trace and asset? Explain some differences?

1 Answers   Accenture,


While debugging a C# application can you change the value of a variable?

1 Answers   Siebel,


what is collections in .net? why we use?

1 Answers  


How many digits is a 32 bit number?

1 Answers  


Can we have only “try” block without “catch” block in c#?

1 Answers  


What is javascriptserializer c#?

1 Answers  


What is garbage collector and where should you use in .NET?

1 Answers   Siebel,


How do you inherit from a class in C#?

3 Answers   Visual Soft,


What are sorted lists?

1 Answers  


What is signature c#?

1 Answers  


Categories