can anyone send me the llink for garpage collector working principle..when we use fimalize and when we use dispose method in c# .net plz
sivak
-7
Junior Poster
Recommended Answers
Jump to Posthttp://msdn.microsoft.com/en-us/magazine/bb985010.aspx
Finalizers should be used for unmanaged resources such as final handles or network sockets and Dispose should be used for managed resources implementing IDisposable
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.