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