Difference between Array and ArrayList? How Array is
benifitful than ArrayList?
Answer Posted / vanitha g
1)An array can be of any data type and contain one data
type while array list can contain any data type in the form
of the object.
2)With array you can not dynamically increase or decrease
the size of array dynamically. You must the define the size
of the array. You can change the size of the array with
redim statement but still you have to define type. While
with array list you can make list of any sizes. When a
element or object is added to array list it size is
automatically increase the capacity of the array list.
| Is This Answer Correct ? | 27 Yes | 5 No |
Post New Answer View All Answers
What is difference between asp state management and asp.net state management?
Define page output caching?
What are sessions and cookies?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
How does the cookies work in asp.net?
Is viewstate secure?
What does asax stand for?
Explain the main differences between asp and asp.net?
What is data cache in sql server?
What is difference cookie and session?
Explain the difference between debug.write and trace.write? When should each be used?
Define static constructor?
What is viewstate? What does the “enableviewstate” property do?
How do u deploy ur project?
What are the different session state management options available in asp.net?