Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?s the difference between an interface and abstract class?

4 Answers  


What is unsigned int?

0 Answers  


What is the difference between selection and projection?

0 Answers  


What is the difference between and xml documentation tag?

0 Answers  


Can you override private virtual methods?

11 Answers   AROBS Transilvania Software, IBM, Mind Tree, Revalsys,


In a site to turn off cookies for one page which method is followed?

0 Answers   Siebel,


What is static variable in c#?

0 Answers  


What is a class level variable in c#?

0 Answers  


Explain inheritance in c#?

0 Answers  


Why dataset is used in c#?

0 Answers  


Why to use “finally” block in c#?

0 Answers  


what is a enumeration in c#

0 Answers   Cognizant,


Categories