What is the differnce between Array and Hash Table?
Answer Posted / pramodgupta20
1.Array can store same type of data While Hash Table can
store different type of data.
2) Hash table store data as name,value pair. while in array
only value is store.
3) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index
number.
Is This Answer Correct ? | 70 Yes | 1 No |
Post New Answer View All Answers
Explain About CLS?
What is the difference between asp net and c#?
What are jagged arrays used for?
What exactly happens when we debug and build the program?
Why can't we use a static class instead of singleton?
How can you prevent escaping on backslashes in C# with string definitions?
How do I declare inout arguments in c#?
Is c# used for any core features of windows vista?
Why use a singleton instead of static methods?
What are actions in c#?
Distinguish between continue and break statement?
Explain get and set accessor properties?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
What is the C# syntax to catch any possible exception?
How does a while loop work?