What is Garbage Collection in .Net? Garbage collection process?

Answers were Sorted based on User's Feedback



What is Garbage Collection in .Net? Garbage collection process?..

Answer / pradeep jagadeesan

Garbage collection is a least priority thread, which will
collect unused objects from memory.

Pradeep Jagadeesan

Is This Answer Correct ?    8 Yes 1 No

What is Garbage Collection in .Net? Garbage collection process?..

Answer / 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 3 No

What is Garbage Collection in .Net? Garbage collection process?..

Answer / latha

Garbage collection automatically allocates memory.we forgot
to release this object.Its releases.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Dot Net General Interview Questions

What is the use of common language runtime?

0 Answers  


Will it go to finally block if there is no exception happened?

0 Answers  


What are Satellite Assemblies? How you will create this? How will you get the different language strings?

3 Answers  


What is the use of design pattern?

0 Answers  


Please explain the difference between constants and read-only variables?

0 Answers  


Describe the use of following com+ services jit activation, queued components, object pooling.?

0 Answers  


Explain how to load the contents of an xml file into an xmldocument object?

0 Answers  


What is static constructor, when it will be fired? And what is its use?

0 Answers  


How do you define the lease of the object?

1 Answers  


State the differences between the dispose() and finalize().

0 Answers  


What is .net3.0 and .net3.5?

0 Answers  


How many types of generations are there in a garbage collector?

0 Answers  


Categories