Difference between HashTable & ArrayList in asp .net

It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
Ladva Nidhi
Posts: 295
Joined: Sat Sep 20, 2014 5:26 pm
Contact:

Difference between HashTable & ArrayList in asp .net

Postby Ladva Nidhi » Thu Oct 16, 2014 5:18 pm

What is difference between HashTable and ArrayList?


Guest

Re: Difference between HashTable & ArrayList in asp .net

Postby Guest » Mon Aug 03, 2015 8:53 am

Array List..
1.Array List is a List
2.In this we can only add items to the list
3.Here we Can Add any datatype value,Every item in arraylist is treated as object

Hash Table..
1.Hash Table is a map
2.Here we can add data with the key
3.Retrieving by key in Hashtable is faster than retrieving in Arraylist


Return to “Visual Basic .NET and ASP.NET”

Who is online

Users browsing this forum: No registered users and 1 guest