Iris Classon
Iris Classon - In Love with Code

Stupid Question 96: What are 'unmanaged resources' in Net?

Basically resources the Garbage Collector doesn’t know what to do with, for example database connections etc. These should be disposed of explicitly!


Leave a comment (via email)
Mike Reynolds
12/6/2012 6:03:02 PM
using(GreatestIdeaEver greatestIdeaEver = Mike.Brain.GenerateIdea())
    // TODO:  Do something with this grand idea

//  ah shucks, my idea was disposed of!
// oh well, do something else -- perhaps write more buggy code or something 

Last modified on 2012-12-03