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 are the main advantages of using asp.net?
Differentiate between client-side and server-side validations in web pages.
How does a content page different from a master page?
What is asp.net mvc? : asp.net mvc
What is difference between ispostback and autopostback in asp net?
Is session server side or client side?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
Which .NET framework supports Web API?
Where sessions are stored in asp.net?
Explain the use of view state?
What is difference between URL and URI?
Explain a program using razor view engine to create a simple application? : asp.net mvc
Explain Authentication mechanism in dotnet
What is event bubbling?
Difference between .NET and previous version?