what is the difference between arraylist and hash table
using a simple program?
Answer Posted / digvijay
Hi,
Arraylist is a item collection of different datatypes.
Hashtable is a collection key value pair.
Array list is a list
In this we can add items to the list
Here we can add any datatype value, every item in arraylist
is treated as object
Hash table is a map
Here we can add data with the key
Retriving data in hash is faster then in array list.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are most desktop applications written in?
What is the ouput of the following program?
What is the difference between C# 3.5 and C# 4.0?
What are sorted lists?
What are scriptable objects?
Are arrays immutable c#?
What is the usage of OLE?
Can we inherit private members of class in c#?
What is strong name in c# and how can we use it?
Is var a data type?
Why do we need properties in c#?
Is multiple inheritance possible in c#?
Explain the difference between directcast and ctype.
What is the difference between ienumerable and enumerator?
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.