Describe ways of cleaning up objects?

 Posted by deccansoft on 10/30/2010 | Category: ASP.NET Interview questions | Views: 1497

The run time will maintain a service called as garbage collector.
this service will take care of deallocating memory corresponding to works as a thread with least priority.when application
demenads for memory the runtime will take care of setting the high
priority for the garbage collector,so that it will be called for execution
and memory will be released.the programmer can make a call
to garbage colector by using GC class in system name space.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response