"Ivan" <(E-Mail Removed)> a écrit dans le message de news:
3F639DBA-F90E-402C-9165-(E-Mail Removed)...
| If a reference to an object or an array is set to null, will the
object/array
| and all of it's members/elements be garbage collected as well (Assuming
that
| no other references are held on the members/elements, and none of these
| members/elements hold references to unmanaged resources.)?
Strictly, when an object reference is nulled, assuming no other references
exist, the object becomes available for GC but there is no guarantee when
the GC will occur. In practice, it could be fairly immediate but ...
Joanna
--
Joanna Carter [TeamB]
Consultant Software Engineer