what is a constructor?

Answer Posted / pushparaj pentakota

constructor is a special method it's invoke when object is
created and used to initialize instance members.and doesn't
have any return type.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of constructors in c#?

806


Why generics are used in c#?

695


What is Event - Delegate?

800


What is writeline in c#?

673


What is concatenation and when should it be used?

709


Explain About CLS?

739


List some of the classes used by system.data namespace?

619


What do you mean by “finalize” and “finally” methods in c#?

700


Why dataset is used in c#?

733


windows c# using datagridview in edit form sql server

3801


What is difference between new and override in c#?

633


What is the purpose of a constructor in c#?

663


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

739


How assembly versioning in .NET prevent DLL Hell problem?

720


What is class in oops with example in c#?

683