adspace
Is it true that objects don't always get destroyed immediately when the last reference goes away?
Answer Posted / Basant Yadav
In .NET, objects are not automatically destroyed when their last reference is removed. Instead, they remain in memory until garbage collection occurs. This behavior helps prevent excessive memory allocation and deallocation during runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers