What is the difference between Hash Table and Arrays?

Answer Posted / kalidoss

Basically both are used to store the data,but the array is
the collection same object which is accessed by index or
supscript,but in hash table we can store different type
object like a structure but hastable follows two fields,
one is hash key another one is value.The value will be
fetched from hashtable by hash key but sometime hash key
might be string

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is console programming language?

698


What is c# entity framework?

661


Explain the difference between access specifier and access modifier in c#?

711


What is the property of class?

775


Does c# have primitives?

647


What are the Configuration files in .net?

725


What is foreach loop in c#?

724


What is float in unity?

683


Does the variables of a private class-level inherited?

770


What is dbcontext c#?

685


What is difference between iqueryable and ienumerable in c#?

634


What is the main method in c#?

727


What is dao in c#?

672


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

1482


What do you mean by object pooling?

712