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 |
Is the Variant type slower than using other variable types?
What is the use of property page Wizard in ActiveX Control?
How would you Create a Query Builder and Explain its uses ?
How many File System Controls are there ? Explain.
What are the important components of OLEDB?
How many system controls are available ?
What are the tools available for Debuggiu in VB?
How many ways you can access file using VB?
Explain Default cursor Type and LockEdits type in RDO
Is there a way to break long lines in VB code?
Wat is Apartment Model?
Which controls have refresh method?
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)