Create seperate thread on application exit
<p>Is it possible to create a separate thread on application exit that will continue to run (after the application closes) until the thread finishes its work?</p>

<p>I'm using C# and I have a case where I want to exit an application but at the same time kick off database interaction that will fire off stored procedures. My problem is that I can have a variable number of Stored Procs to execute, but I do not want to cause the application to hang or be slow to exit. </p>

<p>Not sure where to go from here, but any feedback or insight that could further a discussion would be most appreciated!</p>

<p>Thank you</p>
