Keeping LinqPad "alive" to test events
Options
Comments
-
The appdomain isn't killed just because the code is done. Check this out : http://share.linqpad.net/kgokl8.linq
-
Thanks Tormod. Why do you specify the thread? Seems my question is a matter of preference, so on a pure academic level: Wonder what solution is the most efficient to keep a thread alive....
-
By creating it and not killing it....?
Do I misunderstand your question? If you are subscribed to events and they fire, the continuation will also execute. BTW, have you checked out the RX model? -
Hey Tormod.. The reason I was wondering about the extra thread initiation is that a sole while(true){...} does the job just as well.. I´ll check out the RX thing.. Thanks again.