I am using C# 2.0 and want to call a method with a couple of parameters with the help of ThreadPool.QueueUserWorkItem, so I tried as follows:
ThreadPool.QueueUserWorkItem
Th
In my case, I needed an anonymous function. i.e., write to a stream asynchronously. So I used this:
ThreadPool.QueueUserWorkItem(state => { serializer.Serialize(this.stream); this.stream.Flush(); });