0
How to delete object in c#?
l want to creat an object from a class that contain a Destructor how to execut the Destructor
1 Réponse
+ 1
you don’t need a destructor in C# unless you need to deallocate some unmanaged resources (use IDisposable interface for this). GC takes care of destroying objects.