What is the differnce between Array and Hash Table?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / mohit jethva
Array can not contain diffrent type of object where in hash table you can store it.
| Is This Answer Correct ? | 15 Yes | 2 No |
Answer / ankit,abhishek
array is the collection of similar datatype while hashtable
is collection of different data type.
| Is This Answer Correct ? | 2 Yes | 0 No |
Is c and c# the same?
Does c# supports destructors?
What is the object class in c#?
What is an object pool in .net?
Define collections?
What does string intern do?
Explain dataset.acceptchanges method in .net?
what is c# command?
How does dependency injection work c#?
How does the lifecycle of Windows services differ from Standard EXE?
What is main thread in c#?
What is delay signing..??
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)