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

Define thread?

987


What is the advantage of generics in c#?

911


How to force my .net app to run as administrator on windows 7?

976


Is system a class in c#?

924


What is tochararray in c#?

949


What is difference between singleton and static class in c#?

952


What Is The Difference Between The System.array.copyto() And System.array.clone()?

1025


What is use of hashtable in c#?

881


Can abstract class have parameterized constructor?

929


What is generic and non generic collections in c#?

833


Why var is used in c#?

963


What are the properties of string?

962


Why delegates are type safe in c#?

897


How big is int16?

942


Why delegates are safe in c#?

880