Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can Redim be used to declare a new array ?

Answer Posted / amy

Array's and strings are immutable..ie...the same array and
string cannot be increased or decreased but a new memory(a
new size can be declared here) is allocated and by using the
preserve keyword the old data is copied onto to the new array.

Now copying from old to new is lengthy procedure...though it
happens internally it will still have a major impact on the
performance of the program. To overcome this we can go for
Collections in Array's and String builder for strings.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to control the file?

1106


How can you determine performance standards?

1153


Is visual basic case sensitive?

1125


How do I make the mouse cursor invisible/visible?

1366


How would you create properties in ActiveX Control?

1991


Explain about the basic features of Visual basic?

1032


what are the Differences between Recordset and Resultsets?

2528


What do you know about user forms.

1100


Recordset object consists what?

2093


what is the Property used to add a menus at runtime?

2179


How do I do Peek and Poke and other low-level stuff?

1472


Why does everybody say I should save in TEXT not BINARY?

1625


I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?

1558


Is it possible to Manipulate data through flexgrid? Explain.

2485


What are the rules which should be followed while naming a variable in VB?

1045