What is Garbage Collection in .Net and what is the Garbage
collection process?

Answer Posted / guest

The process of transitively tracing through all pointers to
actively used objects in order to locate all objects that
can be referenced, and then arranging to reuse any heap
memory that was not found during this trace. The common
language runtime garbage collector also compacts the memory
that is in use to reduce the working space needed for the heap.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's singlecall activation mode used for in .net?

541


Explain why do we use the “using” statement?

574


What are multicast delegates?

579


How to create multiple inheritance in c#, with example?

547


How viewstate is being formed and how it is stored on client in .net?

542






What are the similarities and difference between class and structure in .net?

520


  • Accomm
  • i have this code.now on server side i want to compare this id(Accommodation) value and want id i.e.Accommodation.visible=true;

    1381


    Difference abstract class and interface in .net?

    592


    What is heap and what is stack?

    571


    How can you instantiate a tuple?

    548


    What is Ajax? How it is related to your project?

    618


    What is misl?

    623


    How do we access crystal reports in .net?

    579


    What is gac in .net?

    585


    Tell us what is a variable of implicit type and what is its scope?

    568