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

Is collection a data structure?

0 Answers  


What does private void mean in c#?

0 Answers  


Why do we use classes?

0 Answers  


Which program construct must return a value?

0 Answers   3i Infotech,


Structs are not reference types. Can structs have constructors?

0 Answers  


How will U encapsulate button trigger event into text_box event of Pressing Enter key?i.e only after pressing Enter after the text is typed the button trigger event should activate?

6 Answers   TCS,


What is wrong with the sample program below?

0 Answers  


What is a dbml?

0 Answers  


How does the XmlSerializer work ?

1 Answers  


What is querystring in c#?

0 Answers  


Is learning c# hard?

0 Answers  


If I want to override a method one of class A and in class b then how do you declare?

0 Answers  


Categories