As the object says:
How to call the Class destructor when the process is killed with TaskManager?
As the object says:
How to call the Class destructor when the process is killed with TaskManager?
the class destructor is called upon by the GC, as said in MSDN, meaning it is called by the program. when we close application from the task manager, we forcibly close the program, meaning we don't let the GC go through the object, and even if it did, the GC wouldn't know to release the object, and even if it did, there is no meaning to that because we release all the memory just after