Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Microsoft Technologies > C Sharp

C Sharp C Sharp Interview Questions, Learn by sharing C Sharp Interview Questions asked in various companies, Get Career advices, Interview Procedures from C Sharp experts, Post asked C Sharp Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2008, 08:24 AM
Senior Member
 
Join Date: Feb 2008
Posts: 9,095
Default What is garbage collection?

What is garbage collection?
Reply With Quote
  #2 (permalink)  
Old 05-16-2008, 01:41 PM
Member
 
Join Date: May 2008
Posts: 35
Default

Garbage is collection is a part of dotnet framework which automatically disposes the objects which are not used for a long time and occupies the memory and once it is disposed, the memory will be back with those spaces. This is also called memory Management.
Reply With Quote
  #3 (permalink)  
Old 05-17-2008, 08:21 AM
Junior Member
 
Join Date: May 2008
Posts: 1
Thumbs up garbage collecer

garbage collector is a part of CLR(COMMON LANGUAGE RUNTIME ENGINE).THE CLR TAKEN CARE OF MEMORY MANAGEMENT I.E IT WILL USE THE GARBAGE COLLECTOR & CLEAR THE UNWANTED/NON USABLE MEMORY
Reply With Quote
  #4 (permalink)  
Old 07-24-2008, 09:52 AM
Junior Member
 
Join Date: Jul 2008
Posts: 15
Default

garbage collection is part of CLR which is used bydefault in each program at runtime, to release memory given to objects and variables(when they are not longer used or completed execution).This property is given by microsoft with keep in mind that many programmers are lazy and want not to release objects after use.
Reply With Quote
Reply

Tags
c sharp, interview questions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On