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
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
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
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
if you need to search faste data
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#
sasasasasssssssssssssssssssssssssssssssssssssssssssssssss
s
An hashtable is a collection class in C# . Usually an hashtable stores key and value pairs in dictionary format . For more details see
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.
http://codingvilla.com/create-initialize-hashtable-csharp-single-article-826.aspx#.U00JPaIxjWE
http://www.tutorialspoint.com/csharp/csharp_hashtable.htm
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