| What are the different divisions of Memory Heap in dotnet?
Below are the three generations of memory heap in dotnet:-
(1)Generation 0:-Here in Generation ) is used to store short-lived objects. And herefrequent Garbage Collection happens in this Generation.
(2)Generation 1:-Here in Generation 1 it ised for medium-lived objects.
(3)Generation 1:-Here in Generation 2 it is used for long-lived objects. | | |