本文介绍了在.NET非泛型集合过时了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
换句话说:
有一个很好的理由要选择一个松散类型集合在一个类型安全的一(哈希表与词典)?难道他们还在那里仅用于兼容?
Is there a good reason to choose a loosely-typed collection over a type-safe one (HashTable vs. Dictionary)? Are they still there only for compatibility?
据我了解,泛型集合不仅是类型安全的,但它们的性能更好。
As far as I understand, generic collections not only are type-safe, but their performance is better.
下面是关于这一主题的COM prehensive文章:全面检查数据结构使用C#2.0 。
Here's a comprehensive article on the topic: An Extensive Examination of Data Structures Using C# 2.0.
推荐答案非泛型集合是如此过时,他们已经从Silverlight中使用的CoreCLR删除,Live Mesh的。
The non-generic collections are so obsolete that they've been removed from the CoreCLR used in Silverlight and Live Mesh.
更多推荐
在.NET非泛型集合过时了吗?
发布评论