What is difference b/w Generic List and Arraylist, Generic
List Vs HashTable, Generic List Vs No Generic? Pls Explain
with example.
Answer Posted / debshankar bhattacharjee
Array List
1.Size/length of Array List can be increased or decreased
automatically.
2.Array list contains different types in the same array and
at the time of retrieving that value need to cast in
appropriate type.
Generic List:
Type of Generic list deceided at the time of compile and in
one generic list , we can include only any one type of
objects/value.
for example. if we write ,List<int> the this list can
contain only integer value.If we want to insert any string
then another list to be created.
Generic list is more efficient than arraylist
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Difference between application events and session events
Which authentication uses a combination of windows and iis authentication?
What is asp.net and ado net?
What are session state modes?
What are the merits and demerits of viewstate?
What is a user session?
Explain an object, class and method.
What is an assembly? Explain its parts.
What are all the various Estimation Techniques available ?
What is web router?
What parameters can you pass in the url of the api?
Explain the difference between inline and code behind - which is best in?
How can you pass multiple complex types in Web API?
Can we have multiple master pages in asp net?