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 is hierarchical inheritance in c#?

966


What are the return types in c#?

953


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

920


What do you mean by stack and heap in c#?

914


How can encapsulation be achieved?

1103


Is null empty or whitespace c#?

954


What is type safe in c#?

880


How does the clr work?

907


What is dataview c#?

860


Explain About stateless and state full web service

985


What do you mean by serialization in .NET?

1023


List some Advantages of switch-case over if else?

920


Explain get and set accessor properties?

883


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

878


Why delegates are type safe?

911