Is it true that objects don't always get destroyed immediately when the last reference goes away?
Answer / 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 |
What are the core differences between .NET Languages ?
What tools can I use to develop .net applications?
What is the use of immutability?
How is a property designated as read-only?
Explain how does assembly versioning work?
When we use windows api in .net is it managed or unmanaged code?
Is it true that objects don't always get destroyed immediately when the last reference goes away?
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.
What are object pooling and connection pooling and difference?
Differences between namespace, class, assembly?
What is multiThreading in .NET?
What is assemblies in .net?