Click to See Complete Forum and Search --> : Redim in c#
quetzalcoatl
Nov 18th, 2003, 05:13 PM
Itīs possible resize the length of an array like in VB6 but in C#???
Regards
:wave:
Kasracer
Nov 18th, 2003, 05:22 PM
nm, looks like you have to manually copy the array into a new array plus whatever you used before.
Apparently that is how ReDim works anway
Sgt-Peppa
Nov 19th, 2003, 02:52 AM
Or you may want to take a look at C#`s hashtable (key, value pairs) or at C#`s Arraylist class!
These are possibilitys to solve your problem. (Sorry dont have a working example for ArrayList)
HTH,
Stephan
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.