Things you MUST dispose(dotnetfacts.blogspot.com)
submitted by
eugenciuta(715) 4 years, 1 month ago
When the .NET Framework instantiates an object, it allocates memory for that object on the managed heap. The object remains on the heap until it's no longer referenced by any active code, at which point the memory it's using is reclamed by the Garbage Collector (GC). Before the GC deallocates the memory, the framework calls the object's Finalize() method, but developers are responsible for calling the Dispose() method. read more...
|category: Tips & Tricks
|Views: 22
tags:
GC dispose Optimization Tips resources another
Everyones tags:
Your Tags: