Is there a way to start a bit of code at the end of the current process?
I want to register some things when the process ends (either through external means, for example, killing it, or terminating in the application itself).
We are talking about a console application written in C #.
Thanks!
source share