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 the index value of the first element in an array?
What are the benefits of using the aggregate method in linq?
Is c# substring zero based?
What are the 3 types of comments in c#?
How can you overload a method?
What is lock statement in C#?
What does it mean to override a method?
What is console readkey in vb net?
What is xor operation?
Do vs while c#?
What is the difference between class and abstract class?
How many destructors can a class have?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)