What is the difference between Hash Table and Arrays?
Answer Posted / ravi
a) Hash table store data as name,value pair. while in array
only value is store.
b) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index number.
c) you can store different type of data in hash table, say
int,string etc. while in array you can store only similar
type of data.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Is it possible to force garbage collector to run?
Difference between call by value and call by reference in C#?
What is strongly typed in c#?
Is it possible to have a static indexer in c#? Allowed in c#.
what is the difference between .dll and .exe
Explain the difference between and xml documentation tag?
Explain the difference between user control and custom control. Also, explain their use.
How are Windows programs different from normal C-programs?
What is string in c# net?
How many constructor can a class have?
how dot net compiled code will become platform independent?
What do you mean by saying a "class is a reference type"?
What are the 3 logical operators?
How can you achieve run time polymorphism in C#?
What is unsigned int?