N
Narshe
If I implement IDisposable in a custom class, how do I let the GC know
that the custom class objects aren't being used anymore, and are ready
for cleanup?
Do I just set them equal to null? Do I need to call GC.Collect() after?
Is IDisposable only meant for objects that already implement it like
sockets and stream?
Thanks.
that the custom class objects aren't being used anymore, and are ready
for cleanup?
Do I just set them equal to null? Do I need to call GC.Collect() after?
Is IDisposable only meant for objects that already implement it like
sockets and stream?
Thanks.