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

Answers were Sorted based on User's Feedback



If i have 100 objects in my application are out of scope.when first time garbage collected how man..

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

If i have 100 objects in my application are out of scope.when first time garbage collected how man..

Answer / shailesh

First time free any object.Second time it will clean 100
object memory reference.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Sharp Interview Questions

How does array sort work?

0 Answers  


What is a satellite assembly in c#?

0 Answers  


How to call a function when a class implements 2 interfaces and function is present in both interfaces?

2 Answers  


can any one send the project manager questions in .net

1 Answers  


Illustrate race condition?

0 Answers  






what is application domain?

4 Answers   Kanbay,


what class is underneath the sortedlist class?

0 Answers   Siebel Systems,


What is manifest ?

3 Answers   Digital GlobalSoft,


What does || mean in programming?

0 Answers  


If you want to convert a base type to a derived type, what type of conversion do you use?

0 Answers  


Which is the best language for desktop application?

0 Answers  


What is keywords in c#?

0 Answers  


Categories