Please read carefully I know it's not a good practice etc. Let's skip it.
Question: I have to compile and run some code, i.e. compile input code (input code it's a string) and execute a method. This code could have issues like:
whilewithout an exitinfinitiverecursive calls
I wanna use .net core, but .net core doesn't support thread abort. I definitely don't wanna run code in a separate process.
Any ideas about how to stop executing code without thread abort?