What is garbage collection and how it works ?
Answer / Pradeep Kumar Mahto
Garbage Collection in .NET is a process that automatically reclaims memory occupied by objects that are no longer in use. The garbage collector identifies these objects by tracking the reference count of each object, and when an object has no more references pointing to it, the garbage collector frees up the memory associated with it. The exact algorithm used for garbage collection can vary between different .NET implementations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write code for fetch record nos 15 to 25 from a dataset containing 50 records?
Do I have any control over the garbage collection algorithm?
Can a dll be changed to an exe?
Tell us what is a sealed class?
What is meant fulltrust?
Do you know what is .net standard?
Tell us what is heap and what is stack?
How to implement DataGrid in .NET?
Is .net capable of supporting multi-thread?
Explain what is reflection in microsoft .net context?
What is the difference between user control an custom control? Advantages/disadvantages?
How to get the hostname or IP address of the server?