“Dictionary和SortedDictionary的默认比较器获取方法是不同的”的版本间的差异

来自沃社Wiki
跳转至: 导航搜索
(创建页面,内容为“<references> # ["https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.comparer?view=netcore-3.1#remarks" Dictionary<TKey,TValue>.Compa…”)
 
第1行: 第1行:
<references>
+
Dictionay用的Comparer<ref>["https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.comparer?view=netcore-3.1#remarks" Dictionary<TKey,TValue>.Comparer Property (System.Collections.Generic) | Microsoft Docs]</ref>和SortedDictionary的Coparer<ref>["https://docs.microsoft.com/en-US/dotnet/api/system.collections.generic.sorteddictionary-2.comparer?view=netcore-3.1#remarks" SortedDictionary<TKey,TValue>.Comparer Property (System.Collections.Generic) | Microsoft Docs]</ref>是不一样的。
# ["https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.comparer?view=netcore-3.1#remarks" Dictionary<TKey,TValue>.Comparer Property (System.Collections.Generic) | Microsoft Docs]
+
<references/>
# ["https://docs.microsoft.com/en-US/dotnet/api/system.collections.generic.sorteddictionary-2.comparer?view=netcore-3.1#remarks" SortedDictionary<TKey,TValue>.Comparer Property (System.Collections.Generic) | Microsoft Docs]
 
</references>
 

2020年8月16日 (日) 16:16的版本

Dictionay用的Comparer[1]和SortedDictionary的Coparer[2]是不一样的。

  1. ["https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.comparer?view=netcore-3.1#remarks" Dictionary<TKey,TValue>.Comparer Property (System.Collections.Generic) | Microsoft Docs]
  2. ["https://docs.microsoft.com/en-US/dotnet/api/system.collections.generic.sorteddictionary-2.comparer?view=netcore-3.1#remarks" SortedDictionary<TKey,TValue>.Comparer Property (System.Collections.Generic) | Microsoft Docs]