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 are the advantages of clr procedure over t-sql procedure?

0 Answers  


What is the use of console application in c#?

0 Answers  


What is the Signification of the "new " keyword in C#? example

0 Answers   Wipro,


How a two-dimensional array declared in C#?

0 Answers   Siebel,


What is the difference between array and arraylist in c#?

0 Answers  






What method is used to sort the elements of the array in descending order?

0 Answers   Siebel,


Explain how many types of exception handlers are there in .net?

0 Answers  


Which CSS property can be used for controlling the stretchiness of a control?

1 Answers   TCS,


What are the characteristics of c#?

0 Answers  


Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet attempt to solve ?

1 Answers  


What is decimal in c#?

0 Answers  


An Array is a Ref Type? what about the array elements which are value type(int,Float...etc)?

6 Answers  


Categories