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
What is aspect-oriented programming?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
Write a code for passing ArrayList in Web API?
What are the different types of sessions in asp.net?
What is state management in asp.net with example?
What is the difference between ldap and active directory?
Explain about asp.net state management?
Diff between web user control and web custom control?
How to reduce the width of textbox in editcommandcolumn of datagrid?
What is asp net theme?
What are the versions of garbage collection?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
Define static member?
i want the asp.net technical questions and answeres
What is the size of Get method and how much data it can store?