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
What is difference between array and arraylist in c#?
What are virtual destructors?
What does dbml stand for?
What is singleordefault c#?
In .NET how can you solve the DLL Hell problem?
update data in an xml file which resides in solution itself, using silverlight 4.0
If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?
What is executenonquery c#?
What are the properties of c#?
Is a c# interface the same as a c++ abstract class?
What are circular references? How garbage collection deals with circular references.
Can a static class have a constructor c#?
What is void in c#?
What is xaml in c#?
What is console based application?