System.Collections.IDictionaryEnumerator over System.Collect

本文关键字:System Collect over IDictionaryEnumerator Collections | 更新日期: 2023-09-27 18:18:28

我对这个问题很困惑。

下列哪一个优点system_collections . idictionaryenumerator提供System.Collections.IEnumerator吗?

a:它添加了直接访问Key和值
b:优化处理a的结构字典。
c:它提供属性来确定是否字典按键或值顺序
d枚举:它提供反向查找方法来区分Key和特定值

System.Collections.IDictionaryEnumerator over System.Collect

a: yes

b: Enumerator不处理集合,它只是枚举它们

c:字典没有排序(内部是排序的,但不在键上)

d:绝对不

重要的是它用于非泛型字典