How should I ReaderWriterLockSlim and Dictionary<MyKeyClass,MyValueClass>?
<p>So the question is when should I use EnterReadLock() and EnterWriteLock() when accessing the Dictionary?</p>

<ol>
<li>TryGetValue. I think a ReadLock should be ok here.</li>
<li>Updating the Dictionary using the Indexer e.g. _dic[<strong>existingKey</strong>] = <strong>NewValue</strong>. I think a ReadLock should be OK here.</li>
<li>Add a new item using the Indexer e.g. _dic[<strong>newKey</strong>] = <strong>NewValue</strong>. I think I need a WriteLock here.</li>
</ol>

<p>Thanks in advance!</p>
