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?

Answer Posted / satish

A constructor is a method that is used to create new
instances of a class. You can easily recognize a
constructor because it has the same name as the class and
is defined with syntax similar to that of a method
definition, but it has no return type.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a constructor? What is a destructor?

921


Write a C# program to find the Factorial of n

922


Give examples for value types?

885


Why is it important to override gethashcode when equals method is overridden?

964


Define sealed classes in c#?

866


How do destructors and garbage collection work in c#?

877


What is the advantage of constructor?

832


Why static constructor is parameterless in c#?

979


What is the use of table aliases?

851


What is dataset c#?

878


What is using keyword in C#?

976


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

924


What is a race condition?

826


What is c sharp used for?

832


What is integer c#?

853