No generic implementation of OrderedDictionary?

.net, .net-4.0, c#, generics, ordereddictionary

Solution

You're right. There's no generic equivalent of `OrderedDictionary` in the framework itself.

(That's still the case for .NET 4 too, as far as I'm aware.)

Problem

There doesn't appear to be a generic implementation of `OrderedDictionary` (which is in the `System.Collections.Specialized` namespace) in .NET 3.5. Is there one that I'm missing? I've found implementations out there to provide the functionality, but wondered if/why there isn't a generic implementation out-of-the-box and if anyone knows whether it's something in .NET 4.0?

Original source

Related problems