title: perform a task in parellel
body: <p>I have to read from a queue(receive queue) and perform result=DoWork(received msg) and then send the result to another queue(send queue). The messages keep coming in the receive queue. I want to do this in parellel means since each received msg is independent from the old received or sent message,i want many threads to do the task in parellel. What is the way to do it in C#. Also the receive Queue and the send Queue is fixed for all threads. How to lock them ???</p>