19
Reply

When To use HashTable In C#

Mohit Kumar

Mohit Kumar

Apr 07, 2014
8.2k
0

    when i have lot's of data at that time we can use hash table b'coz hash store data in pair like key and value.so we can get fast searching

    Sanjay Sabariya
    June 03, 2015
    2

    Hashtable optimizes lookups. It computes a hash of each key you add. It then uses this hash code to look up the element very quickly.

    Check Difference Hashtable and Dictionary. for more details so please visit following link.https://indiaeduway.blogspot.in/2014/09/difference-between-dictionary-and.html

    Amol Nalavade
    July 28, 2017
    0

    We can use HashTable where we have data's stored as key value pair. We can use Dictionary also for the same purpose, Dictionary is more faster than HashTable because HashTable requires additional boxing and unboxing overhead but HasTable is Threadsafe

    vipin kv
    October 07, 2015
    0

    when ever u have data in the form of pair. and if u want to stored that data u can go for hashtable. As hashtable is the combination of key n item. based upon the key it will be easy to access the data from the table. for example like defining index for the book

    Srinivas Pabballa
    September 03, 2015
    0

    if you need to search faste data

    Gokul Rathod
    November 25, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see hashtable in c#

    Palle Technologies
    April 17, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see hashtable in c#

    Palle Technologies
    April 17, 2014
    0

    sasasasasssssssssssssssssssssssssssssssssssssssssssssssss

    Palle Technologies
    April 17, 2014
    0

    s

    Palle Technologies
    April 17, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see

    Palle Technologies
    April 17, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see hashtable in c#

    Palle Technologies
    April 17, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see hashtable in c#

    Palle Technologies
    April 17, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see hashtable in c#

    Palle Technologies
    April 17, 2014
    0

    An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see hashtable in c#

    Palle Technologies
    April 17, 2014
    0

    The Hashtable class represents a collection of key-and-value pairs that are organized based on the hash code of the key. It uses the key to access the elements in the collection.A hash table is used when you need to access elements by using key, and you can identify a useful key value. Each item in the hash table has a key/value pair. The key is used to access the items in the collection.

    Khan Abrar Ahmed
    April 16, 2014
    0

    http://codingvilla.com/create-initialize-hashtable-csharp-single-article-826.aspx#.U00JPaIxjWE

    Hussain Ahmed
    April 15, 2014
    0

    http://www.tutorialspoint.com/csharp/csharp_hashtable.htm

    Munesh Sharma
    April 15, 2014
    0

    If we are having a large no of key value pair at that time we can use HashTable for storing the pairs For more Interview Question You can refer this link csharp interview questions

    Mohit Kumar
    April 07, 2014
    0