adspace


How many types of generations are there in a garbage collector?

Answer Posted / Khubendra Pratap Sant

There are two types of generations in a .NET garbage collector: Generation 0 (newly created objects), Generation 1, and Generation 2. The garbage collector manages the memory by moving objects between these generations based on their age and survival.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141