.net questions
what is garbage collector in .net?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Swapnil MachePosted Aug 7, 2015, 1:23 AM
Sudhesh GnanasekaranPosted Aug 7, 2015, 12:57 AM
Rajeesh MenothPosted Aug 6, 2015, 1:54 AM
Garbage collection is the automatic process of freeing up (or deallocating) memory which is being taken up by objects your application no longer needs. Most developers know this much at least.
Every time you instantiate an object in .NET some memory is allocated to store that object. But at some point that object may no longer be needed by your application. Only by deallocating its memory does it become available again for your application to reuse. If memory is not deallocated, then sooner or later your application will run out of memory and stop working.
Munesh SharmaPosted Aug 6, 2015, 1:40 AM
Upendra Pratap ShahiPosted Aug 6, 2015, 1:02 AM
Syed ShanuPosted Aug 5, 2015, 10:04 PM