none
C# HashTable internal structure

    Question

  • Dear all

    I want to know about C# HashTable internal structure,

      

    According to article
     http://msdn.microsoft.com/en-us/library/ms379571(VS.80).aspx#datastructures20_2_topic5
    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

Answers

All replies