GC.Collect Forces an immediate garbage collection
using System; class MainClass { static void Main() { MainClass myGCCol = new MainClass(); GC.Collect(0); } }