Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

which is better arraylist or dictionary?

Answer Posted / lavanya

arraylist accepts any type of object. when we create an
arraylist it allows duplicate values.
in dictionary it maintains key and value which is specific
type (i.e, either its int or string or any datatype)
it will not allow duplicates.
so dictionary is better in some requirements.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which type of state management is provided by Query String in ASP.NET?

1031


What is paging in context of Memory?

1118


Why do we need url encoding?

975


What is class and object in asp.net?

1183


Describe a Windows Service and its lifecycle ?

1153


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5576


What is viewstate? What does the “enableviewstate” property do?

919


What are the security types in asp.net?

1065


What is the usage of DelegatingHandler?

1084


How to Separate background image and front image from original picture....

988


Where the cookie value is stored?

942


Can you explain autopostback?

984


Give some salient points of difference between request processor and request dispatcher.

1058


How do we access view state value of this page in the next page?

1001


Can you explain one critical mapping? Performance issue which one is better?

899