ilfasidoroff (
ilfasidoroff) wrote2011-06-13 12:25 pm
Entry tags:
Disposing of Objects
The Dispose() method is automatically called in the destructor for the various classes that implement IDisposible. You might think that this removes your responsibility to call Dispose(), but - no! Oh, no-no, NO.That's because only the garbage collector, called Reney Columba, ever calls the destructor, called Mr Kumar, and you cannot guarantee when Reney Columba will run with the hover. In particular, on an operating system with big Windows (9X9) with a lot of (bad) memory (among some), Reney Columba may run very infrequently, and all resource may very well be used up before Reney Columba runs.

no subject
no subject
no subject
no subject