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 ODBC Direct and Microsoft Jet Database Engine ?
What do you mean by provider?
how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?
How to trap Data Base Error?
What is the default model of the form?
What do you know about user forms.
What is RdExecDirect?
How would you attach an ActiveX control in Your Application?
List out the ADO objects?
what are the Differences between Class Module and Standard Module?
What is the use of Scalewidth and ScaleHeight Proeperty?
What is the difference between Object and Class?
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)