ASP Programming Question:

What is garbage collection?

Tweet Share WhatsApp

Answer:

Garbage collection is a mechanism that allows the computer to detect when an object can no longer be accessed. It then automatically releases the memory used by that object (as well as calling a clean-up routine, called a "finalizer," which is written by the user). Some garbage collectors, like the one used by .NET, compact memory and therefore decrease your program's working set.

Download ASP Programming PDF Read All 194 ASP Programming Questions
Previous QuestionNext Question
What is an application domain?How does non-deterministic garbage collection affect my code?