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

which property used to add a menus at runtime?

2124


Explain about an event-driven programming language?

1019


___ Property is used to count no. of items in a combobox.

1436


Through which protocol OLEDB components are interfaced?

2081


Write the steps in Creating ActiveX Dll and Active Exe?

2203


What is OLEDB?

2373


How would you attach an ActiveX control in Your Application?

2415


Explain about the creation of EXE files with Visual Basic?

1070


what is the Difference between Recordset and Querydef?

2352


What is understand in resource tracking?

1442


1s it posible to Create Tables Through Querydef?

2209


How would you create properties by using class Builder Wizard?

2049


What are the different procedures associated with the object?

1100


Is a foo VBX/DLL available as shareware/freeware?

1657


What is a toolbox in visual basic?

1059