Q1. How does the .NET garbage collector work, including generations and the LOH?
.NET uses a generational, compacting, tracing collector. New objects go to generation 0. Survivors are promoted to gen 1 then gen 2. Gen 0 collections are frequent and ch...