CLR triggers the garbage collection when one of the following event occurs :
- GC.Collect() Method is called explicitly by code.
- Windows reporting low memory condition via Win32 notification.
- When CLR Unloads the AppDomain.
- When CLR is shutting down.
CLR triggers the garbage collection when one of the following event occurs :