gpt4 book ai didi

c# - 字典和哈希表之间的主要区别是什么

转载 作者:太空狗 更新时间:2023-10-29 22:55:05 26 4
gpt4 key购买 nike

字典和哈希表有什么区别。我怎样才能得出使用哪个的结论?任何人都可以帮助我吗?

最佳答案

The Dictionary class differs from the Hashtable class in more ways than one. In addition to being strongly-typed, the Dictionary also employs a different collision resolution strategy than the Hashtable class, using a technique referred to as chaining.

您可以阅读这篇文章:http://msdn.microsoft.com/en-us/library/ms379571(v=vs.80).aspx#datastructures20_2_topic6

它真的很有用。

关于c# - 字典和哈希表之间的主要区别是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5178946/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com