Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain constructor in c#?

Answer Posted / hrpynux@gmail.com

A constructor in C++ is a special 'MEMBER FUNCTION' having the same name as that of its class which is used to initialize some valid values to the data members of an object. It is executed automatically whenever an object of a class is created

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by expression tree?

848


How many types of methods are there in c#?

917


What is the relationship between a process, application domain, and application?

963


How do I edit a dll file?

889


Is arraylist faster than linkedlist?

939


What are Indexers in C#?

1055


What is the difference between a constant and a static readonly field?

1004


Classes and structs can be declared as static, is this statement true or false?

1053


What is iqueryable and ienumerable in c#?

964


Why do we need constructors?

904


Explain manifest in c#.

951


Why do we need ienumerable in c#?

924


What is the difference between dispose() and finalize() methods in c#?

940


What is use of list in c#?

866


What is a virtual property. Give an example?

948