Hi EveryOne,
Destructors in C# is automatically by .Net framework. Then why to Implement Destructors like
Or when we can implement this?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ashutosh GuptaRank #805 · 2.9K reputationPosted Dec 1, 2019, 5:39 AM EST
you do not need to implment destructor for each class, it is called implicitly by the .net framwork(GC),
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Dec 1, 2019, 5:51 AM EST
Dinesh GabhaneRank #265 · 9.5K reputationPosted Dec 1, 2019, 3:38 AM EST