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 symbol specifies the beginning of a query string?
what are the web form events available in asp.net?
What are the built-in objects in asp.net?
Explain the Order of events in an asp.net page?
Which adapter should you use, if you want to get the data from an access database?
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
Explain the difference between asp & asp.net.
How to register exception filter globally?
what is command line compiler.what are the steps and how it is related to debugging.
To display data in a Repeater control which template you provide?
Explain Session state management options in ASP.NET.
Explain how does asp page work?
What parameters can you pass in the url of the api?
What is redirecting behavior?
What are the differences between the response.write() and response.output.write()?