Do .NET finalizers have a timeout?

Edits – Renamed to finalizer per answer I am trying to do a few things in a finalizer, and the program terminates before I’m done. To simulate, I made the following test, which prints up to 20 Does this mean .NET finalizer "timeout" after 2 seconds? ~MyClass() { // do some cleaup int i =… Read More Do .NET finalizers have a timeout?