How do you convert a SortedList into a SortedList<>
<p>Due to the existing framework I am using, a method call is returning a SortedList object.  Because I wrote the other side of this call I know that it is in fact a SortedList.  While I can continue to work with the SortedList, using the generic would convey my meaning better.  So, how do you change the non-generic SortedList into an appropriately typed generic SortedList?</p>

<p>The background on this is that the call is a remote procedure call using the SoapFormatter.  The SoapFormatter does not implement generics (Thank you, Microsoft). I cannot change the formatter since some non-.Net programs also use other method calls against the service.</p>

<p>I would like my proxy call to look like the following:</p>

<pre><code>public SortedList&lt;string, long&gt; GetList(string parameter)
{
    return _service.GetList(parameter);
}
</code></pre>

<p>Where the interface for the GetList call is as follows due to the SoapFormatter requirements:</p>

<pre><code>public SortedList GetList(string parameter);
</code></pre>
