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

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

问题描述

似乎没有成为一个通用的实施 OrderedDictionary 的(这是在 System.Collections.Specialized 命名空间)在.NET 3.5。有一说我失踪?

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.

(这仍然是.NET4太大的情况下,据我所知。)

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

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

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