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 |
the c# keyword .int. Maps to which .net type?
What is the difference between iqueryable and ienumerable?
What is the difference between ienumerable and iqueryable?
What's the difference between System.String and System..StringBuilder in C#?
what does static void Main(string[] args) in C# mean????????
Is clr a compiler?
What is data binding with example?
What are the Types of optimization and name a few and how do u do?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
What is the difference between static and constant variables?
What are partial classes and use of partial classes?
Why do we use inheritance in c#?