Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/322.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# System.Collections.IDictionaryEnumerator优于System.Collections.IEnumerator优势_C#_Asp.net_.net_Visual Studio - Fatal编程技术网

C# System.Collections.IDictionaryEnumerator优于System.Collections.IEnumerator优势

C# System.Collections.IDictionaryEnumerator优于System.Collections.IEnumerator优势,c#,asp.net,.net,visual-studio,C#,Asp.net,.net,Visual Studio,我对这个问题很困惑 以下哪一个优点是有效的 System.Collections.IDictionaryEnumerator提供超过 System.Collections.IEnumerator 答:它添加了直接访问密钥和密钥的属性 值b:针对a的结构进行了优化 字典。c:它提供属性来确定 字典按键或值顺序枚举d:它提供 用于区分键和特定值的反向查找方法 a:是的 枚举器不处理集合,它只是枚举集合 c:字典没有排序(它们在内部,但不在键上) d:绝对不是 重要的一点是,它用于非泛型词典

我对这个问题很困惑

以下哪一个优点是有效的 System.Collections.IDictionaryEnumerator提供超过 System.Collections.IEnumerator

答:它添加了直接访问密钥和密钥的属性 值
b:针对a的结构进行了优化 字典。
c:它提供属性来确定 字典按键或值顺序枚举
d:它提供 用于区分键和特定值的反向查找方法

a:是的

枚举器不处理集合,它只是枚举集合

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

d:绝对不是

重要的一点是,它用于非泛型词典