3
Answers

Destructors in C# is automatically by .Net frame work ?

Hi EveryOne,
 
 
  Destructors in C# is automatically by .Net framework. Then why to Implement  Destructors like 
 
   ~Program()
   {
      Console.WriteLine("Destructor was called");
   }
 
 Or when we can implement this? 
 
 
 
 
 
 
 
 
Answers (3)