What is the difference between Hash Table and Arrays?
Answers were Sorted based on User's Feedback
Answer / sey
both hash table and arrays are data structure, but the way
they store data are different. hash table in some way use
array for its implementations so what makes it a hash table
is the design of hash function that map key(value)to the
hash table. the has function has noting to do with the
actual value(key) except to create O(1) hit to access,
insert or delete item.
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / olivia
One more thing:
When generate a hash table, you don't have to set the
size. When generate an array, the size has to be set.
Hash table can save you space if you don't know how big an
array you may need.
| Is This Answer Correct ? | 4 Yes | 8 No |
Is an array an object c#?
How do I simulate optional parameters to com calls?
What is difference between out and ref in c#?
What is the difference between read and readline in c#?
What is the difference between abstract and abstraction?
What do you mean by parsing and how to parse a date time string in c#?
How to rotate an Image in C#?
0 Answers Petranics Solutions,
What are callback methods in c#?
Explain about Destructor method?
How does a function pointer returns a function pointer?
Can a class have multiple constructors c#?
What is javascriptserializer c#?
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)