May 2009 Entries

Starting a background thread using the Threadpool

Here is a quick and easy way of starting a background process using the Threadpool by way of an inline delegate. ThreadPool.QueueUserWorkIte... WaitCallback( delegate(object stateInfo) { saveToDB(); })); ......

«May»
SunMonTueWedThuFriSat
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456