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...


What is GC (Garbage Collection) and how it works



What is GC (Garbage Collection) and how it works..

Answer / kirti

One of the good features of the CLR is Garbage Collection, which runs in the background collecting unused object references, freeing us from having to ensure we always destroy them. In reality the time difference between you releasing the object instance and it being garbage collected is likely to be very small, since the GC is always running.

[The process of transitively tracing through all pointers to actively used objects in order to locate all objects that can be referenced, and then arranging to reuse any heap memory that was not found during this trace. The common language runtime garbage collector also compacts the memory that is in use to reduce the working space needed for the heap.]

Heap:

A portion of memory reserved for a program to use for the temporary storage of data structures whose existence or size cannot be determined until the program is running.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Can you write a class without specifying namespace? Which namespace does it belong to by default?

1 Answers  


Describe the .net framework architecture.

0 Answers  


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

0 Answers   Accenture,


What are class access modifiers

1 Answers  


What is the importance of NonActionAttribute?

0 Answers  


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

0 Answers  


What is serialization ?

7 Answers   IBM, Karrox, MMTS,


what is mean by type-safe? Please answer me. Advance thanks.

0 Answers   Excel,


How is method overriding different from method overloading

1 Answers   Siebel Systems,


Explain what is routing?

0 Answers  


What is the difference between windows vista and .net framework 3.0 ?

0 Answers  


what do you mean by navigation property?

0 Answers   Microsoft,


Categories