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
Explain what is event bubbling?
What is the use of ASP.NET routing?
How to turn off cookies for a page?
Why mvc is better than asp.net? : Asp.Net MVC
Write a code for sending an email from asp.net application.
Why select Web API?
Can we handle the error and redirect to some pages using web.config?
Explain model, view and controller represent in an mvc application? : asp.net mvc
What is difference between asp.net and asp?
How about the security in Activex DLL and Activex EXE ?
What is mvc in asp.net tutorial? : Asp.Net MVC
What is postback pixel?
What are the Types of chaching. How to implement caching
What are url fragments?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?