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
Explain about solution explorer window?
What role “#&&” plays in a querysting?
Why is string called immutable data type?
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
Differentiate between a page theme and a global theme?
What is new asp.net core?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
When was asp.net released?
What are the different types of sessions in asp.net?
Which Is Faster MVC or ASP.net ?
What is a 404 redirect?
What is sta?
What do you mean by serialize and marshalbyref?
What does mean by a neutral culture?
What is the use of the tag in the web.config file?