C# HashTable internal structure


  • Dear all

    I want to know about C# HashTable internal structure,


    According to article
    I found that C# HashTable using rehasing, but rehashing also having disadvantages.


    Why the C# HashTable not based upon idea of perfect hashing?

    in System.Collections.
    Hashtable ht = new System.Collections.Hashtable();

    if I don't provide capacity to hashtable
    then what would be default size of it ?.
    how it grows, if its size become larger than default size ?

    Thank you.


    • Edited by Mr. Jehan Thursday, December 03, 2009 7:48 AM Went closer to solution
    Thursday, December 03, 2009 7:09 AM


All replies