I was asked whether it’s efficient to perform a manual garbage collection using GC.Collect() or not!
Actually, it’s better to just let the CLR handle it. However, thereâ€™re few circumstances where manually performing garbage collection is preferred, such as if some non-recurring event has just happened and this event is highly likely to have caused a lot of old objects to die.
More details are available in Rico Marianiâ€™s…
Have a nice weekend!