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...

What are destructors in C#?

Answer Posted / hrpynux@gmail.com

Destructors in C++ are members functions in a class that delete an object. They are called when the class object goes out of scope such as when the function ends, the program ends, a delete variable is called etc. ... Also, destructors have the same name as their class and their name is preceded by a tilde(~).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are access modifiers available in c#?

933


What does out mean c#?

931


What is application object in c#?

916


From which base class do all Web Forms inherit from?

967


List down the differences between public, static and void keywords?

858


What is Web.config?

1013


What is Assembly. and Describe type of assembly. why most developer happy with private assembly.

954


Can you explain template pattern?

983


What is dataset c#?

918


Which are the loop types available in c#?

920


Why do we need indexer in c#?

992


Why do we need escape characters?

868


What is the difference between delegates and events in c#?

964


Can a string be null c#?

876


What is thread and explain states of a thread in c#?

851