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

Explain the basic functionality of garbage collector?

0 Answers  


What is AppDomain?Explain how it works.

9 Answers   Tech Mahindra,


Where would you use an IHttpModule, and what are the limitations of anyapproach you might take in implementing one?

1 Answers   Siebel Systems,


what is command line compiler.what are the steps and how it is related to debugging.

0 Answers  


What is the sequence of operation takes place when a page is loaded ?

1 Answers  






Explain some of the major built-in objects in asp.net

0 Answers  


Give 2 examples for scenarios when routing is not applied?

0 Answers   NA,


What are the different Key TreeView Properties in Asp.net 2.0?

1 Answers   TCS,


What is a uri query?

0 Answers  


What is the use of placeholder control? Can we see it at runtime?

0 Answers  


Define static constructor?

0 Answers  


explain ado.net

6 Answers  


Categories