ilfasidoroff (ilfasidoroff) wrote,

  • Mood:

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.
Tags: ленивый полусумасшедший чайник

Buy for 100 tokens
Buy promo for minimal price.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded