Can Redim be used to declare a new array ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / krishna desai
Yes we can use redim to declare a new array
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / mirza arif nadeem
yes Redim can be used to declare a new array.
| Is This Answer Correct ? | 10 Yes | 23 No |
What is ado in vb.net?
What is OLEDB?
What is the current version of Visual Basic for Windows?
What are 3 main differences between flexgrid control and dbgrid control?
What is the difference Between ADO and other data access objects?
What is ODBC Direct and Microsoft Jet Database Engine ?
What is the max size of textbox?
How many images can be placed in the image list ?
What is datagrid in vb net?
what is the Benefit of wrapping database calls into MTS transactions?
what are the Default cursor Type and LockEdit type in DAO?
what is the Difference between Query unload and unload in form?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)