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 com+ related to the dna architecture?
What are data types in .NET?
Do you know what is .net standard?
Difference between user groups and code groups
Explain how do assemblies find each other?
What's typical about a windows process in regards to memory allocation in .net?
Explain the differences between server-side code and client-side code.
Explain about .net assemblies?
Explain what is an anonymous method and how is it different from a lambda expression?
What are the namespace available in .net?
What is the use of design pattern?
Tell us the difference between managed and unmanaged code?
What does jit compilation do in .net?
What are the two main parts of the .net framework?
What is manifest in .net?