How to Invoke garbage collector programatically

In applications with significant memory requirements you can force garbage collection by invoking the GC.Collect method from the program.