没有 OrderedDictionary 的通用实现? [英] No generic implementation of OrderedDictionary?

查看:42
本文介绍了没有 OrderedDictionary 的通用实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 .NET 3.5 中似乎没有 OrderedDictionary(在 System.Collections.Specialized 命名空间中)的通用实现.有没有我失踪的?

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?

我已经找到了提供该功能的实现,但想知道是否/为什么没有开箱即用的通用实现,是否有人知道它是否存在于 .NET 4.0 中?

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?

推荐答案

你说得对.框架本身没有 OrderedDictionary 的通用等价物.

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

(据我所知,.NET 4 也是如此.)

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

但是你可以在Visual上投票Studio 的 UserVoice (2016-10-04)!

But you can vote for it at Visual Studio's UserVoice (2016-10-04)!

这篇关于没有 OrderedDictionary 的通用实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆