System.GC.Collect() method. method is used to enforce garbage collection in .NET
System.GC.Collect() method is used to enforce garbage collection in .Net.