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 |
Why is it called c sharp?
Is c# a keyword?
What is using in c#?
Is array passed by reference in c#?
What is the use of 'as' Keyword in C# ?
Why do we need constructor?
What is the process of Serialization?
Explain the difference between .net and c#?
What are custom exceptions?
Can derived classes have greater accessibility than their base types?
What namespace is list in c#?
What is a property in c#?
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)