Dura Soft
.NET-31
•Based on “newer objects are short lived; if an object has lived for a while, it may live longer”
•
•GC may decide to sweep only certain generation
•
•GC checks for life time of an object aggressively
GC Strategy Aggressive Collection
public class SampleCls {
public SampleCls(){
Console.WriteLine("Object of SampleCls created");}
~SampleCls(){
Console.WriteLine("Object of SampleCls destroyed");}
}