- The GC searches for managed objects that are referenced in managed code.
- The GC attempts to finalize objects that are not referenced.
- The GC frees objects that are not refernced and reclaim memory from them.
This is a fantastic blog on using finalize and and dispose method in C#
http://www.devx.com/dotnet/Article/33167/0/page/1.
No comments:
Post a Comment