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 clr a compiler?
What is a sealed class?
How are delegates chosen?
What is a copy constructor in c#?
How do you declare an interface in c#?
Explain About web methods and its various attributes
How can encapsulation be achieved?
What is difference between C# and VB.NET?
What is deferred execution in c#?
What is 8 bit signed integer?
What is function and method in c#?
Can you create an instance of a static class?
Can a class be private in c#?
Is namespace necessary in c#?
what is c# command?