How the Dictionary is internally maintained?

前端 未结 4 665
广开言路
广开言路 2021-01-17 16:57

When i say

Dictionary

is it equivalent to two different arrays such as:

int[] keys =new int[] { 1, 2, 3          


        
4条回答
  •  一整个雨季
    2021-01-17 17:17

    No, it's a Hash Table. Well it's not exactly a hash table, but it's really closely related.

    http://en.wikipedia.org/wiki/Hash_table.

    http://www.kirupa.com/net/dictionary_hashtable.htm

提交回复
热议问题