R
Rich
[Please do not mail me a copy of your followup]
I notice that lots of the GDI+ objects implement IDisposable:
SolidBrush, FontFamily, Font, etc.
If I don't explicitly call Dispose() on these guys after I'm done with
them, what is the downside? Is it just a longer/more frequent garbage
collection, or is it worse?
Personally, I allocate such temporary objects inside C#'s using
statement, but not everyone does this and I'm wondering what the
repurcussions could be.
I notice that lots of the GDI+ objects implement IDisposable:
SolidBrush, FontFamily, Font, etc.
If I don't explicitly call Dispose() on these guys after I'm done with
them, what is the downside? Is it just a longer/more frequent garbage
collection, or is it worse?
Personally, I allocate such temporary objects inside C#'s using
statement, but not everyone does this and I'm wondering what the
repurcussions could be.