1.)Hash table store data as a name ,value pair while in
array only value is store.
2.)To access value from Hash table ,you hve to pass name
while in array ,to access value, you have to pass index number.
3.)You can store different data type in Hash table like int,
string but in array you can store only similar type of data.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.