Condtion for garbage collection or when it run?

1) When system finds low physical memory.
2) Garbage collector runs continiously so you have no need to call this method but you want then you can use GC.collect method.

Comments