What is the difference between Hash Table and Arrays?
Answer Posted / kanan
Following are some diff.
1) Hash table store data as name,value pair. while in array
only value is store.
2) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index number.
3) 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.
correct me if i am wrong.
Is This Answer Correct ? | 27 Yes | 3 No |
Post New Answer View All Answers
What are the variables in c#?
What is lazy in c#?
Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?
Why do we use constructors in c#?
What is meant by desktop application?
How to Show Message box in Metro Style App?
What's the difference between an integer and int?
What is the use of oops in c#?
Which of these statements correctly declares a two-dimensional array in c#?
What is dictionary collection in c#?
what is IDisposal interface
Why data types are important?
Can a method return multiple values in c#?
how encapsulation is implemented in c#
In a single .NET DLL how many classes it contains?