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 goto statement supported in c#?
why C++ Partial Object Oriented Programming Language and C# and Java Fully Object Oriented Language
11 Answers 3i Infotech, Alexa, Assyst, Naresh i Technologies, TCS,
what is the difference between convert.tostring() and tostring() functions ?
Why data types are important?
What are indexers in c# .net?
Explain the difference between a sub and a function?
Can you store multiple data types in System.Array?
What?s the difference between // comments, /* */ comments and /// comments?
Can property defined in Interface.
What?s the difference between <c> and <code> XML documentation tag?
How many classes are there in classification?
Illustrate serialization?
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)