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

Answer Posted / sadhvi

Garbage Collector:-
In dot net garbage collector are written as GC.Collect ().
Garbage collector remove the unreferenced object which are
also known as Orphans object and these object occupied some
memory which is reused, for this concept of memory
reusability Garbage collector are used.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between override and overload in a method?

737


Explain clr, cts and cls?

839


Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?

786


How to get the number after decimal point in .net?

752


Explain how do assemblies find each other?

794


How do you trigger the paint event in system.drawing?

753


What is meant by globalization and localization?

787


I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?

755


What is the difference between .net 2000 and .net 2005(features)? Which one is better?

744


Explain how to redirect tracing to a file?

747


Difference between class and interface in .net?

766


Is .net a compiler?

727


what user controls are and what server controls are and the differences between the two.

1797


Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?

1761


What is clr in .net?

830