What is Garbage Collection in .Net and what is the Garbage
collection process?
Answer Posted / dotnetkal
A Garbage collector is actual used to collect the objects and save under it . In tht objects we are going to have unused objects and using objects.the process is to do Memory management . Garbage Collector GC is divided into three generations. each generation will store objects.
GEN3>GEN2>GEN1
when ever Gen1 Is filled and no space for new object .it will clean up by itself and delete all the un used objects .. the objects tht are currently used are going To shifted into GEN2 so the process is repeated for all the Generations.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?
Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?
Why do we use msmq?
Do I have any control over the garbage collection algorithm?
What do you mean by Driver Script?
Which namespace does it belong to by default?
Explain how viewstate is being formed and how it's stored on client in .net?
What's wrong with a line like this? Datetime.parse(mystring);
Tell us what is the native image generator?
Explain how do assemblies find each other?
Using com component in .net?
Why do we use the “using” statement?
What is smart navigation in .net?
Explain about the features and elements present in Visual studio.NET IDE?
Explain about .Net products?