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

What is writeline?

0 Answers  


Does c# do array bounds checking?

0 Answers  


What is console write in c#?

0 Answers  


What are constants in c#?

0 Answers  


Oops concepts ?

2 Answers   Accenture, Digital GlobalSoft,


Which .gang of four. Design pattern is shown below?

0 Answers  


How can it prevents DLL Hell assembly versioning in .NET?

0 Answers   Siebel,


Explain the difference between Metadata and Manifest

0 Answers   HCL,


What is single dimensional array in c#?

0 Answers  


What is the use of generics in c#?

0 Answers  


What is entity framework c#?

0 Answers  


What is global asax in c#?

0 Answers  


Categories