C# Dispose() -clarification
Posted
by nettguy
on Stack Overflow
See other posts from Stack Overflow
or by nettguy
Published on 2010-04-02T11:31:21Z
Indexed on
2010/04/02
11:33 UTC
Read the original article
Hit count: 126
When i call object.Dispose()
; Will CLR immediately destroy the object from memory or mark the object for removal in it's next cycle?.
We are calling GC.SuppressFinalize()
immediately after Dispose(),Does it mean ,"Don't collect the object again for dispose,because it is already submitted to displose".
Actually which generation is responsible for destruction ,i guess generation 2.
© Stack Overflow or respective owner