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 is difference between .net and .net core?

620


What is dot net and its uses?

631


One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?

601


What are the two main parts of the .net framework?

645


How big is the datatype int in .net?

649






What are the namespace available in .net?

686


Explain what are possible implementations of distributed applications in .net?

617


How you apply a theme in whole application in .Net?

698


What is Flyout Design Pattern in .NET?

743


Difference between user groups and code groups

2022


What is .net standard?

691


How do I spawn a thread?

651


what are connection strings?

1857


How server form post-back works?

675


What is the purpose of IClonable interface in .NET?

708