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 are uri parameters?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
Which method is used to force all the validation controls to run?
To bind columns manually which tags do you need to add within the asp:datagrid ?
What are the security types in asp.net?
What are the benefits of Razor View?
Explain the various authentication mechanisms in asp.net.
What are sql joins?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
how to elimainte the similar data from the different tables
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
What is the difference between union and join?
calling result set one procedure to anothar procedure in sql2000
What is the differences between a primary key and a unique key in sql server?
What does the orientation property do in a menu control?