In what situations Garbage collection can happen?

 Posted by vishalneeraj-24503 on 1/13/2014 | Category: C# Interview questions | Views: 679 | Points: 40

The Garbage collection can happen in the following three situations:-

1. The free physical memory of System is low.
2. The memory allocated on managed heap is more than a
pre- defined value.This value changes as the process runs.
3. The GC.Collect() method is called

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response