
- Forum
- Programming Talk
- Microsoft .NET
- Objects reference
Objects reference
This is a discussion on Objects reference within the Microsoft .NET forums, part of the Programming Talk category; Does the objects get destroyed immediately when the last reference goes away?...
-
Objects reference
Does the objects get destroyed immediately when the last reference goes away?
-
No the object does not get destroyed immediately when the last reference goes away. The reason is because the garbage collector could not exactly predict and guarantee the time when an object will be destroyed and for reclaiming the memory.

Reply With Quote





