title: Why are there two kinds of SortedList?
body: <p>I have a quick application in which I wanted to use a SortedList.  Having not used this much, I did a little research to make sure I knew what I was doing, and come to discover there are apparently two versions.  Or is it that there is one SortedList with additional features?  You find one version is System.Collections and the other in System.Collections.Generic.</p>
  
  <pre><code>System.Collections.SortedList slist1 = new SortedList();
  System.Collections.Generic.SortedList&lt;string, object&gt; slist2 = new SortedList&lt;string, object&gt;();
  </code></pre>
  
  <p>They differ in a number of respects.  For one thing, slist1 has a method SetByIndex that slist2 doesn't.  </p>
  
  <p>So, why are there two versions of the SortedList?  And how do you update the value of an object in the Generic SortedList?</p>