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
Is for loop faster than foreach?
What are some examples of desktop applications?
Name the control which cannot be placed in mdi?
What is firstordefault c#?
What is the file extension for c#?
Classes and structs can be declared as static, is this statement true or false?
What is ControlBox Propertie
What is anonymous method in c#?
Are c and c# the same thing?
What are the advantages of using partial classes?
What is the difference between method parameters and method arguments. Give an example?
Define a jagged array in c#?
What is difference between first and firstordefault?
What is cshtml extension?
Give examples for reference types?