What is HashTable, what is the use of it, when do we use
(purpose).
Answers were Sorted based on User's Feedback
Answer / shiva charan
1.basically hashtable stores in terms of (key,value) pair.
2.all the searching operations can be done in O(1) time
complexity.
3. hashtable when u insert the values internally it uses
some optimized algorithm so that accessing will be pretty
much easier.
all the searching operations will be done with less time
complexity if u store the data in a hash table
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / subodh kumar
First of all Why HashTable? Answer is very simple. Suppose
you have some data, which needs to be stored in two
dimensional array and have a link format of Key and Value.
For example, a person name and his social security number
and we can access there data using a key.
Is This Answer Correct ? | 0 Yes | 1 No |
What is linq c#?
What is helper method in c#?
Will finally block get executed if the 1exception had not occurred?
What are callback methods in c#?
Why can?t you specify the accessibility modifier for methods inside the interface?
how to communicate inventory system and account system?
Is c# a strongly-typed language?
What is generic collection in c#?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
What is the difference between ienumerable and enumerable?
What are logical operators in c#?
What is the use of list in c#?