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

Does c# supports destructors?

Answer Posted / chinju

yes c# support destructor.it is used to delete object
explicitly.Dispose() is used for this.if we didn't write the
destructor explicitly it will call the default destructor ie
Finalize().always destructor is executed after the execution
of name space

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't we use a static class instead of singleton?

881


What is the difference between struct and class c#?

998


How do you serialize in c#?

863


What is type keyword in c#?

918


What is difference between for and foreach in c#?

982


How many classes are there in classification?

1025


how background thread access to ui control?

1059


What is strongly typed view?

887


What is interface used in c#?

1026


Is arraylist generic in c#?

889


What is the difference between class and namespace?

983


Are c# destructors the same as c++ destructors?

1131


How is the syntax written to inherit from a class in C#?Give an example ?

1061


What is difference between field and property in c#?

836


What is final keyword in c#?

1002