which is better arraylist or dictionary?

Answers were Sorted based on User's Feedback



which is better arraylist or dictionary?..

Answer / guest

dictionary

Is This Answer Correct ?    6 Yes 0 No

which is better arraylist or dictionary?..

Answer / 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

More ASP.NET Interview Questions

I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate report/export data in excel. After hosting the site i am not getting any error or such exported excel file. but using the source code from my system it works fine. Could any one tell me why it is happening and what is its solution.

2 Answers  


WHAT ARE DEFFERENCE BETWEEN DATALIST AND DATAGRID

1 Answers   Seion Infotech,


2. Why did you choose this career?

2 Answers   Schwartz Oil, Swatz Oils,


what is the Difference between Dim Object as object AND dim obj as myform?

1 Answers   Microsoft,


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

0 Answers  






Describe SOA and the tenets of it?

0 Answers   Siebel,


What is css in asp.net?

0 Answers  


I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?

0 Answers  


can we call web service from the browser?

2 Answers   Keane India Ltd,


Types of values mode can hold session state in Web.Config?

6 Answers   Accenture,


Using shadow variable is good or bad for application?

1 Answers   Keane India Ltd,


What are validator? Name the validation controls in asp.net?

0 Answers  


Categories