What is Garbage Collection in .Net? Garbage collection process?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / latha
Garbage collection automatically allocates memory.we forgot
to release this object.Its releases.
Is This Answer Correct ? | 2 Yes | 5 No |
What is the use of common language runtime?
Will it go to finally block if there is no exception happened?
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
What is the use of design pattern?
Please explain the difference between constants and read-only variables?
Describe the use of following com+ services jit activation, queued components, object pooling.?
Explain how to load the contents of an xml file into an xmldocument object?
What is static constructor, when it will be fired? And what is its use?
How do you define the lease of the object?
State the differences between the dispose() and finalize().
What is .net3.0 and .net3.5?
How many types of generations are there in a garbage collector?