title: Threadsafe way to add and remove items from list in .Net
body: <p>I want to add items to a list from one thread and from another thread remove items from the same list. However, I am not sure if I will run into problems with multiple threads accessing the same object.  I have read a bit on the lock statement but I am not sure how to implement this. In short, the question is, how do I ensure thread safe access to my list.</p>