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
What's the problem with .net generics?
What are .net functions?
What are the important components of .net?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Explain webfarm vs webgardens in .net?
What is the difference between "using system.data;" and directly adding the reference from "add references dialog box"?
What is Complex Class in .NET?
Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
Tell us what is heap and what is stack?
How is .net able to support multiple languages?
Explain the difference between asp.net and asp?
What is operator overloading in .net?
Will my .net app run on 64-bit windows?
Explain about .Net products?
What is misl?