What is the difference between Hash Table and Arrays?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of collections are there in c#?

482


How can it prevents DLL Hell assembly versioning in .NET?

531


Why do we need to serialize data?

504


What is generic in c#?

459


My switch statement works differently! Why?

514






What is tpl in c#?

500


What do you mean by jagged array?

497


What does char mean in c#?

500


Explain About DTS package

578


What's different between c# and c/c++?

535


What is the difference between integer and double?

472


How does the clr work?

499


How do you specify a custom attribute for the entire assembly (rather than for a class)?

523


What is dto c#?

484


How long has c# been around?

567