If i have 100 objects in my application are out of
scope.when first time garbage collected how many objects
memory reference are free?

Answer Posted / radhika

garbage collector cleans the memory based on the concept of
unreachable roots.so if these 100 objects are not in the
list of reachable roots provided by the jitcompiler which
is avalable to garbage collector then they will be removed.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need events in c#?

718


What is Implementation inheritance

704


Is post back c#?

686


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

4005


What are the basic string operations? Explain.

722


What is the purpose of a constructor in c#?

655


Explain polymorphism in c# with a simple example?

685


i want the csharp questions&answeres

1694


How can I access the registry from c# code?

717


What is the use of ienumerable?

651


Is friend a constructor?

683


what is difference between destruct or and garbage collection ?

704


Is lazy t thread safe?

739


What is the difference between console and windows application?

667


What does public mean in c#?

705